If the company begins to sink, so be it, the whole family goes down together (or flee as they see fit).
It would make a company hesitant to hire — they would have to think very long term making a decision like that. Perhaps companies would train (re-train) their employees if the jobs or company evolve.
Interesting though that, in the U.S. at least, the relationship we have with our employer is perhaps 180 degrees from that of the relationship we have with our family. That seems a little sad.
(Reminded suddenly of Tim's speech at the end of The Office (U.K.) — pass me a hanky. https://youtu.be/5AlZ-ZYbbPU)