The Maps application on iOS used to use Google Maps. But then Google started to collect too much user data and withholding features like turn-by-turn navigation (while making it available on Android).
https://en.wikipedia.org/wiki/Apple_Maps#Initial_release
Becoming independent from Google for such a core feature was an important move.