Far more companies just go belly up and leave whatever is left lying around. If we are lucky the land or whatever supports someone else tearing it down.
In software we build without considering how to sunset or deprecate. But perhaps we would build differently if we did so.