Apple is different. They track data, but the data are locally stored on your device and never leave your phone, for example, your Frequent Locations. There are exceptions like Siri data, search request and map data. These has to leave but even the data is scrubbed so hard it can't tell who made the request. They use this thing called Differential Privacy, where the data that Apple collects on its users gets scrambled so it can’t identify people personally. That means “we see general patterns, rather than specifics that could be traced back to you” in Apple’s own words. You can read Apple’s privacy policy in full
here.
Google, in contrast, likes to suck up as much personal information as it can on you to create much more personal services, and very much sees specifics about you—you can read its privacy policy
here (and don’t forget the policy of Samsung or LG or whichever company makes your phone).
That is the price you pay for an Android phone being cheaper. You are selling your data for the product. So you cover the bare cost of the product and they take that data of yours to cover the rest and move.
Apple is not interested in your data and sells you a whole product