And with pockets deep enough that Apple doesn't have to carry any risk.
But Microsoft has even deeper pockets than Apple, but it still provides a GPS API for developers. Heck, it even has tutorials for how to use them. And I'm pretty sure Microsoft has a few lawyers around.