Apple does this, but to a lesser extent. I think the important distinction is in the business reasons that Apple and Google collect data.
When Google collects data on you, it's mainly so they can let other companies interact with you (ads), and those companies pay Google so that Google makes money.
When Apple collects data on you, it's mainly so that Apple can interact with you, and get you to pay Apple so that Apple makes money.
The existence of that third party in Google's motive (i.e., advertisers) incentivizes Google to collect data more aggressively, because as long as the people using Google are "happy enough" to not leave the platform, Google stands to benefit from collecting more data for advertisers. And "advertisers" isn't a well-defined demographic.
Apple's cost-benefit analysis when it comes to collecting user data is much ore clear-cut. If they can't tie data they're collecting to more revenue, there's not as much incentive for them to collect that data.
In my opinion, that's why the reporting earlier this year about Apple's pivot towards advertising is such a big deal[1]. It completely changes the relationship it's users have with the company.
Also to consider: Wifi networks are used for tracking. Google and Microsoft offer methods for disabling this for the network that you control. (_nomap/website) Apple does not. Also Google makes it not impossible to stop tracking ( F-droid/Netguard/Superfreezz) on your phone. Pro iphone: Apple does not share access to an advertising id for monetization without user consent. Apple guards application boundaries.
I believe most of it is actually Mozilla, and not either one of those companies. Looking at DNS lookups, 2/3 of all DNS requests on my network go to location.mozilla.com
When Google collects data on you, it's mainly so they can let other companies interact with you (ads), and those companies pay Google so that Google makes money.
When Apple collects data on you, it's mainly so that Apple can interact with you, and get you to pay Apple so that Apple makes money.
The existence of that third party in Google's motive (i.e., advertisers) incentivizes Google to collect data more aggressively, because as long as the people using Google are "happy enough" to not leave the platform, Google stands to benefit from collecting more data for advertisers. And "advertisers" isn't a well-defined demographic.
Apple's cost-benefit analysis when it comes to collecting user data is much ore clear-cut. If they can't tie data they're collecting to more revenue, there's not as much incentive for them to collect that data.
In my opinion, that's why the reporting earlier this year about Apple's pivot towards advertising is such a big deal[1]. It completely changes the relationship it's users have with the company.
1: https://www.bloomberg.com/news/newsletters/2022-08-14/apple-...