> What happens at bankruptcy is that the claims on various assets are reassigned. The planes will get sold to someone who reckons they know how to run an airline, and the staff are likewise hired by new businesses.
Alternatively, it would be possible to create a worker cooperative from the failing business. The managers who created the mess would be ousted and the actual employees could decide what to do with the rest.