(1) The web is (slowly) destroying MS on the client-side. Sure, there's a ton of existing WinForms/WPF stuff now, but I think new development is on the web.
(2) Linux is destroying MS on the server-side. It is simply impossible to beat the price (both AMZN and MS offer Linux images at half the price of Windows images).
So, where does that leave MS? Competing with AMZN in cloud infrastructure. They have the technical chops and maybe other-than-1st mover advantage gives them a chance to present a cleaner experience, although it ain't easy being sandwiched between AMZN and Digital Ocean/Netlify.
I think even Blazor is a stretch, dependent on the maturity of WASM, but... requiring devs to switch from React/Angular? And competing with whatever else moves to WASM.
Of course MS loves Linux. It'd be stupid not to.
(For now.)