I don't think actual competition benefits Google in a commercial sense. If we considered the situation purely rationally, Google's most logical decision would be to use their budget as leverage, threatening off the books to prevent any strategy that might make Firefox "viable again", under the assumption that Google focused primarily on market share, while Mozilla focused purely on survival.