I disagree. AWS is way ahead of Microsoft in cloud services and Google has their mobile Android platform.
Microsoft is playing catch up like they always have. The only difference is that now their OS near monopoly is not nearly as useful in leveraging their products as it used to be
Microsoft develops and sells numerous products. Amazon and Google rely HEAVILY on ad revenue.
In spite of that, Microsoft stock outperformed Amazon and Google stock on one, five, and ten year charts.
Only Apple stock - which is mostly in the hardware business - has outperformed Microsoft, and only slightly.
Also, Microsoft pays a 1.13% dividend. Amazon and Google pay no dividend, and Apple pays just 0.6%.