It's clear you have a lack of understanding of how Google and Apple use customer data for advertising. Apple doesn't sell your data. Neither does Google. That's not how Google makes money. Google and Apple sell ad space. Google just sells a crap ton more.
Neither company sells your data. Both use anonymized customer data to sell ad space. Apple's privacy policy explicitly tells you they use your anonymous data for advertising; just like Google.
Short answer, they don't sell customer data. They do share customer data. They have done so for a long time. Read the privacy policy. Apple classifies data in two categories: personal and non-personal.
Personal information is data that can be used to identify or contact a single person.
Here's what Apple says about non-personal data: We also collect data in a form that does not, on its own, permit direct association with any specific individual. We may collect, use, transfer, and disclose non-personal information for any purpose.
You may wonder what constitutes non-personal data. Wonder no more:
We may collect information such as occupation, language, zip code, area code, unique device identifier, referrer URL, location, and the time zone where an Apple product is used so that we can better understand customer behavior and improve our products, services, and advertising.
Apple also shares location data: To provide location-based services on Apple products, Apple and our partners and licensees may collect, use, and share precise location data, including the real-time geographic location of your Apple computer or device. Where available, location-based services may use GPS, Bluetooth, and your IP Address, along with crowd-sourced Wi-Fi hotspot and cell tower locations, and other technologies to determine your devices approximate location.
This is extremely similar to Google's privacy policy. As a matter of fact, a lot of the language is almost exactly the same. Apple is not doing evil and neither is Google. Apple is just better at hardware and Google is better at selling ads. Again, neither sells your data.
Apologies for length.