Apple doesn't get your data. It's stored directly on your phone, encrypted, and you have complete control over who or what accesses it.
Apple and Google have very different models and views of the world. To Apple, you're the customer, and their focus is on giving you the tools they think you want or need. To Google, you're the product, and their focus is to entice you to use their stuff so that they can collect data on you to use and to sell to third parties.
While both companies will provide whatever info they have in response to a valid warrant, it's Google, not Apple, that voluntarily provides the government with data without notifying their users that they do it.
The Fappening...