Health insurance, but the problem is that pre-existing condition clauses can prevent you from getting insurance coverage at any cost.
The other alternative is simply "die", but rationally, there's little reason to choose that over bankruptcy. I wonder what happens to medical debts if you commit suicide over them... (Or what happens if you try to commit suicide and fail?)