A lot of this is "collectibility" bumping prices up; but a part of it is also the fact that there are more than a few companies in the world running CNC tooling that uses these machines as controllers. We're talking CNC machines that to replace entirely would cost hundreds of thousands of dollars (USD), if not more in some cases. So parts to repair and keep these machines running are in hot demand.
There are, though, a few companies out there taking a different approach: Since most of these systems are DOS based, they work to reverse engineer the controllers, and build custom Linux or other embedded systems, running DOSbox or some other emulator, to keep these machines alive. In some cases, a complete reverse-engineering is done (both hardware and software). There is a demand for it, and very few providers of this kind of service (some machines have little or no documentation on how they worked or were controlled, some have manuals in a foreign language, software is highly proprietary and dongle-ized, etc).
So for that case - for your question - yes, this is still done, and likely always will be. I'm sure there are other more "mundane" examples of people using old software on either new machines (say in a VM, or maybe if it runs, just on the new system) or using emulation. There are a few kinds of software where there is great trouble to be had trying to emulate it or such (either because of security dongles, or other custom hardware) - but if it can be done, it is likely to be done...