There are a lot more points on the "how does your system respond to business failure" spectrum besides low-consequence ch11/better-luck-next-time and debtors' prison.
In the US, workers at a bankrupt company can often show up to the same workplace the next day or week and not skip a beat, the customers might not even know they're doing business with a different entity - only the owners have changed - the old ones get wiped out and their debtors take control.
A 787 isn’t an optimal airplane either, but it’s a damn good design and it’s silly to compare it to things that don’t exist yet.
Can you please expand? This is an expansive claim.
More broadly, our modern world exists because of large scale organizations, the ability for strangers to transact, and efficient markets for allocating credit and capital. Bankruptcy law is a pillar that makes that possible. It enables lenders to extend credit knowing that, if the debtor can’t repay, there will be an orderly process for getting some of the money back. That backstop in turn lowers the barriers to transaction.
Contrast this with what happens in a country without modern bankruptcy law. Businesses in those countries still need to borrow money. But what happens when a debtor can’t pay? Individual creditors have an incentive to harass the debtor and be the first ones to recover their share. Debtors have incentives to pay back certain creditors before others. Creditors might seek to liquidate an otherwise viable business just to get paid. All that means that lending and borrowing is risky. So when people do it, they go through established trust networks, such as families, clans, etc. This dampens business formation and entrepreneurship.