Someone will buy their IP and back catalogue in a bankruptcy. Those will retain value and even highly speculative properties might be worth owning just in case if the price is right.
Probably Disney too if antitrust didn't get in the way. I'm pretty sure I don't want them meddling with Star Trek, but that may be the only way it stays in existence.