Why do we need bankruptcy? That's way too late.
All owners of hardware should have a licence to inspect and modify the code it runs. Not necessarily open source, just something tied to the hardware itself at a bare minimum.