I have trouble seeing how this is Something That Needs Fixing(tm). It's a shareholder problem because it's shareholder capital being spent on these bonuses. Both pre- and post-bankruptcy, shareholders are in the primary position to fix it.
It isn't shareholder capital; it's almost always creditor capital when a public company is going bankrupt. It's a broken process when creditors don't get a vote in whether a company can apply for Chapter 11 bankruptcy (as opposed to Chapter 7 where the company assets are just liquidated). It incentivizes shareholders to vote for Chapter 11 because they know during a Chapter 7 their shares will be worthless anyway, be…
Also, if the company no longer exists (or contracts to cover the bonuses), then it stops serving whatever societal purposes it used to serve.
For retail, all the infrastructure supporting the malls ends up being wasted, suppliers go bankrupt, communities lose jobs, neighboring stores fail once the mall loses its anchor store, etc, etc.