The least cynical view, in my opinion, is that Google is an ad company, which ultimately means they are a data company. They don't need Mozilla to build a better browser, they need Mozilla to increase the amount of user data Google can collect and ad spots Google can sell.
The more cynical view is that Google doesn't care at all about Mozilla because the investment is nothing more than a hedge against regulatory pressure.