Why are you assuming the legal framework for ending corporations couldn't have mechanisms to prevent that?
For example, offending corporations could be broken up, and have their assets sold to their competitors. The resulting money used as severance for the employees, who didn't necessarily do anything wrong.
A company can't just "start back up" if you take all their capital. And no-one would re-invest in people known for taking legal risks that might make that investment go "poof".
And 99% of corporations wouldn't be evil if it wasn't fucking legal, and basically required to compete!