There should be a law forcing ride hailing apps to give anonymized ride data to local governments so that they can plan public transport better. If they sell it to marketers they must be able to do this technically.
> New York City has released data of 173m individual taxi trips – but inadvertently made it "trivial" to find the personally identifiable information of every driver in the dataset.
https://www.hhs.gov/hipaa/for-professionals/special-topics/d...
If you're sharing data for a specific purpose, then it's much easier to limit the data sharing to suit that purpose: omit irrelevant data, aggregate where possible, and anonymize individual data points only when you actually need to share that level of detail.