Yes, but it's not a meaningful part of their revenue unlike Google where it's' their entire revenue.
They are very different companies in structure and it certainly is a "pick your poison" but it's completely stupid to act like they're the same on this front. Apple is better on user privacy
...unless you care about state actors, which you should, in which case your data is the US government's either way.