Microsoft only continue to make Windows desktop because businesses "need it", and it's a gateway to sell people azure and office. Eventually they will open source as much of it as they can, or rather, build a flavour of windows that is Linux and essentially distribute binaries for the directx stuff and other things they're not willing to fully release the code on.
mark my words, Windows isn't dying a natural death, it's parent is suffocating it in its sleep as a mercy killing.. mercy from having to support it forever