They didn't take that approach with maps. Might not have been as lucrative, but could've been cheaper than developing their own, inferior maps solution.
They did Apple because Google orpahned their maps app on the iPhone by giving turn-by-turn navigation capabilities first to their Android app. Classic strategy tax that backfired as the most used maps app on Apple is the default app and Google has a fraction of the users on the iPhone.
Google also required user location data which Apple was not prepared to give. And Apple of course didn’t want to be in a second place position (apart from navigation there were also the better looking vector maps being reserved for Android etc).