I feel this, too. For a company with as much money, and as many insanely smart people as Apple has, the amount of energy they expend on developer tools, APIs and languages still seems quite low next to Microsoft. Of course, that could just be my perception.
Apple (80,000 employees) is 20,000 Employees short of Microsoft's count (100,000+), and though it seems like Microsoft has more breadth, I don't know that things like the Xbox team and System Center teams aren't balanced by the army of non-engineering employees Apple has manning the retail stores (that being just one example).
So yeah, I would tend to go one step further and say Microsoft does invest more resources in its developer tools and particularly the Azure platform. Microsoft has historically dumped untold sums of money into "the web"; throwing everything they can at the wall hoping something sticks, and I think they finally found a niche to exploit with Azure. Their engineering talent pool, combined with the desire for everything to be connected all the time, has allowed them to move rapidly into a space with A) Growth Potential, and B) a set of problems they are uniquely suited to solve. Amazon laid a lot of the groundwork for web services to come along and compete with, but I think as Azure continues to build steam, we are going to see them surpass Amazon.