What you would need to solve this is socialized medical care supervised by the government, who takes from those who can contribute and gives to those who are in need. It wouldn't have to be completely run by the government but would have to be supervised by it.
Medical insurance that works like Medicare obviously has the same problems. But imagine medical insurance where, instead of paying obscene premiums with a low deductible, you pay very low premiums with a deductible of several thousand dollars after which the insurance pays 80%. So if you get cancer you don't die of poverty but for pretty much anything else you're paying out of pocket, i.e. medical insurance, not a payment plan that hides true costs from everybody.
Now the thing that costs $10,000 in one place and $4,000 in the other place is a difference you care about, so you pay the $4,000 (and so does everybody else), causing total medical costs to fall. You also eliminate all the insurance paperwork in any year you don't blow the deductible, allowing doctors to lower their own costs significantly.
For instance, recently I read about carfilzomib or sipuleucel, both cancer medicines; $100,000 doesn't get you there yet.