They're not the same. Google generates ~80% of its revenue from an ads product built on user data. Apple has an ad product which generates ~5% of its revenue (mostly from App Store ads), collects far less info¹, does not share user info with third parties, and lets users turn off personalized ad targeting with a simple toggle².
¹ https://www.apple.com/legal/privacy/data/en/apple-advertisin... ² https://support.apple.com/en-us/HT202074