Not necessarily true. Given source code, it's often possible to create binaries that run on modern computers, and it's often the case that web apps stop working because something they depended on disappeared or someone broke backwards compatibility.
You know, until the server for the app is taken offline, which is far more frequent of an occurrence than a big move like taking your app from 32 to 64-bit which has been spread over literally a decade.