Apple has led the industry on hardware but is woefully behind on the software and services front. Focusing on device-level privacy controls turns what would be a gap into a moat, and it helps deprive Google and other services from monetizing their customer base.
Not to say that it's not something the company is passionate about - but it's also good for their business. Especially when you compare it to things like human rights, transparency, and security research where Apple could take a stronger stand but don't.