Microsoft's been pretty supportive of Android for a while, with big software packages like Office, OneNote, Cortana, and Outlook being released on the platform, and Samsung Android phones being sold in their stores. What really surprises me is that Google is partnering with Microsoft, because they've been the ones to stonewall any potential competitors (c.f. Amazon). I'm sure Microsoft would have loved to make an Android phone a long time back, as soon as it became apparent that Windows Phone was on life support.
The days of Microsoft being a monopolist who steamrolls the competition with brute force are at least a decade past, and Google has very eagerly stepped into those shoes.