This is happening already - anyone who use Google map has their location data collected for the past 10 years with default setting. Police can issue geofencing warrant against the location/time and Google will share that data.
https://www.theregister.co.uk/2020/01/18/google_geofence_war...
https://www.nytimes.com/interactive/2019/04/13/us/google-loc...