Have you jumped into a large old codebase with no access to its previous authors or maintainers? The idea that selling for parts a company is going to lead to a similarly healthy company filling the niche under new management is... extreme.
We do need creative destruction and to prevent moral hazards.
We also need to prevent mass unemployment and chaos. Nationalizing and re-privatizing can do this, but not as efficiently as just giving 0 interest loans to patch over a temporary “pause” in the flow of money.