I think that beyond the politics, everyone recognizes that the issue of "when to pull the plug" has no simple answer- particularly when driven by economic considerations.
First, of course I can make up absurd expenditures: using a million dollars to buy a week of extra time for a brain dead patient. And easily the opposite- paying for a heart transplant for an otherwise healthy 12 year old. But that leaves quite a complicated range in between. It may have been easy for me, at age 40, to suggest that an expensive cancer therapy that would keep a 65 year old alive for a few more years was not economically justified. However my own current circumstances have radically changed my view of that particular scenario...
What if it were just a year of extra time? Or just 6 months? Or one month? I dare say that most people, when it becomes personal and real rather than hypothetical, find that even a month or so of extra life is worth a lot of money to them, and they wouldn't be too happy if an insurance company, or a UHC system, was to tell them that that month wasn't worth the investment. As far as I can tell, even most 90 year olds wish fervently to become 90.1 year olds. And this applies to close relatives and friends- if there is a way to keep one's mom alive, even for a little longer and even if she is aged, one wants to be able to do so. Add to that the uncertainties of real life medicine- prognoses can be wrong. People given a few weeks to live have turned around and lived years. I know of two people who checked into, and then out of, palliative care and have gone one to live many months or years. Who should decide not to treat someone who may have a small, but real chance of recovery? And yet I also realize that there are diseases and stages of diseases in which death comes soon and there is no chance of recovery- the very terminal stages of cancer, or of certain kidney or liver diseases for example. One only hopes that the patient, their family, and their doctors in these cases have been realistic and have arranged do not resuscitate/no extreme measures orders. Yet even here, most people would be uncomfortable if forced to do so by an insurance company or a government based on monetary considerations of "worth."
So it is complicated. Yes, a lot of money goes into treating people "near death." But some of that money went to people who, after treatment, did not die (or at least it wasn't clear that they were going to die). And how near death does one have to be? A few days? Okay, a big investment at that point still seems silly to me. A few months? Well, most people would want a few months. if they could have them without tremendous suffering. A few years? Sure!
I know that I am largely stating the obvious, but perhaps my main point is that many of these issues look very easy to decide in theory and at the societal level, but then become very difficult when they become real and personal.