Certainly this happens for procedures that should be cheap, and nursing homes are also a huge issue. But in the current discussion it's not clear to me that something like a heart transplant should be cheap. Development of a novel treatment can be very expensive and sometimes involves scarce resources.
The US alone does ~2/3 of worldwide heart transplants, I think there is a tradeoff here. It's also not actually $1 million out of pocket for most people.
Only because you are looking at the country total. Adjusted per capita, US has 7.6 transplants per million population, while eg France has 6.2. Which means, it’s pretty close.
It can't be cheap, and in any high quality medical system apart from US thats not a concern for the patient, ever, at all.
One of those cases where US individualism and utter lack of social thinking (completely unrelated to socialism/communism but many simpler folks fail to distinguish that) screws up needful parts of society