Google funds Mozilla by paying to be Firefox’s default search engine
Google funds Mozilla primarily to avoid the exact kind of legislation in this post; monopolies.
Google can point at Firefox and say “look, not only are there alternative browsers anyone can install, but we funded the independent development of that browser”.