We are in an age of webassembly in browsers. For all the complexity of the modern web, riddle me this: What is the difference between a website executing arbitrary web assembly code in the sandbox of the browser, and any TCP connection sending a program which is loaded in a sandbox and executing on the user's computer? The difference seems to me to be simply the fact that it is integrated into the web, web browsers, etc. If we are truly at the point where this is how we want to do things--like, we want to write web apps in Rust and compile for web assembly--The web is becoming less distinct and therefore less valuable as a paradigm.
I'm not a user of any document-only web alternatives, but in this model, it would be pretty cool to see a re-separation into a web-of-linked-documents and network-of-sandboxed-remote-applications.
Society wouldn't swallow such a thing easily, but if they push the web far enough into a proprietary hellscape, desirable services will likely start to emerge outside of it. All it takes is for those services to be attractive enough to start drawing disenfranchised stragglers, and the next thing you know, your mom is downloading recipes off the new not-web web without a care in the world.