It is worth remembering incentives though. Apple is primarily a hardware company. Most of their revenue comes from iPhones. Google is primarily an ad company that makes money selling ads, and your data.
This obviously doesn’t make Apple a privacy champion , but it should be considered. Apple is at least theoretically in a position to push for the privacy of their users, while Google is not.