MS must be open to survive. It is being crushed by opensource. And they still put DRM where it maters (EFI).
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.
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.