Compare Apple Maps and Google Maps.
Google initially hoovered up all your location data and kept it forever. They learned from Waze that one use case for location data was keeping your map data updated.
Apple figured out how to accomplish the goal of keeping map data updated without storing private user data that could be subject to a subpoena.
> “We specifically don’t collect data, even from point A to point B,” notes Cue. “We collect data — when we do it — in an anonymous fashion, in subsections of the whole, so we couldn’t even say that there is a person that went from point A to point B.
The segments that he is referring to are sliced out of any given person’s navigation session. Neither the beginning or the end of any trip is ever transmitted to Apple. Rotating identifiers, not personal information, are assigned to any data sent to Apple... Apple is working very hard here to not know anything about its users.
https://techcrunch.com/2018/06/29/apple-is-rebuilding-maps-f...
One more reason to prefer offline maps for those who value privacy.
Apple and Google are based in the US so are bound by the CLOUD Act to provide any and all data they have, no matter where in the world it is being collected or stored.
But you can be forced to record and store that data even if you don't want to.