I think Microsoft was being squeezed out of new markets by Google and Apple. I'm not sure how accurate it is to say Microsoft "is being crushed by opensource (sic)". Also, despite being overshadowed by other tech companies, Microsoft's business lines are healthy and growing.
Interestingly Apple (Hardware), Google (Ads), and Microsoft (Software) are quite dominant in different business areas. While Microsoft needs to keep a close watch on Google and Apple encroaching, I think AWS is a bigger rival in terms of growth opportunity.
It is very interesting how MS is the only one that have different basket of eggs. If Google ever lose relevance in the online Ads market then it's done. The same can be say of Apple (in a lesser degree) if the iphone becomes irrelevant.
Stacking up Microsoft versus Apple, their businesses are fundamentally different - see exhibit: https://visualign.files.wordpress.com/2012/02/applemicrosoft...
Interestingly Apple (Hardware), Google (Ads), and Microsoft (Software) are quite dominant in different business areas. While Microsoft needs to keep a close watch on Google and Apple encroaching, I think AWS is a bigger rival in terms of growth opportunity.