Apple maps, "Intelligence", siri, etc all run on device because Apple is in the market of selling devices. As many as they can. Whereas google is in the market of selling you to advertisers.
It's literally a major difference in their fundamental business models.