At least if you went with IBM and followed the old adage “no one ever got fired for buying IBM” in the 80s, you can still buy new supported hardware to run your old code on. If you went with their competitors, not so much.
Yeah I know I am showing my age....
Vendor lock-in was just as much of a problem then as now.