Sure there will always be some legacy code done in MS which is probably easier to port from 7 to 10 (and onwards) than into the web stack. But legacy is not what accounts for growth as so much new software is done on web stack.
Also, if you look this way, Chromebooks also compete in this space.
For the staff I do (image, audio, video, programming), that couldn't be further for the truth.
For the rest, that stuff is technologically trivial to begin with (email viewing, writing a document, creating invoices, etc).
Much happier with this. Yeah, you can run Photoshop on the Surface, but for just sketching and digital painting, Procreate costs $6 and is far more touchscreen friendly.
Once in a while I miss a piece of desktop software, but I have an old MacBook Air that I can get out if I really need blender or something.