If Microsoft had “won” in Mobile by licensing Windows Mobile, where would it have gotten them? Google “won over” OEMs and got a whopping $21 billion in profit over eight years for their trouble.
https://www.theverge.com/2016/1/21/10810834/android-generate...
There was speculation that Microsoft made more from Android for years from patents than Google made.
Besides, Microsoft is still making pretty good money on mobile by targeting developers with Azure and tools like Xamarin