You could also make the shareholders accountable. Seize a percentage of their ownership, for instance. That way, the company itself doesn’t suffer. Would be painful the first few times, because it would also hit pension funds and minority investors, but investors should quickly adapt.
This is also how bailouts should work to ensure that owners/leadership doesn’t gamble on a bailout.