And for what it's worth, these cases are basically never discussed even outside the courts in the UK on the basis of 'can we afford it?', but rather 'is it the right thing to do?'. There are financial constraints on the NHS, particularly on the provision of care for chronic conditions and expensive new drugs with positive but marginal utility, but these kinds of 'right to life' cases are not where it bites.
For your "opposite" case, where a court could order removal of a baby from life support, there have been several cases in America
https://www.chron.com/news/houston-texas/article/Baby-dies-a...
"Sun's death marks the first time a U.S. judge has allowed a hospital to discontinue an infant's life-sustaining care against a parent's wishes, according to bioethical experts. A similar case involving a 68-year-old man in a vegetative state at another Houston hospital is before a court now."
My underlying point is the power dynamic between a government and its people, and the argument that a government "providing" more things increases that dynamic in the favor of the government. This makes any decisions related to that dynamic more legitimized.
The US government provides 27% of things in the US (budget vs GDP), about the same as South Korea and Switzerland, more than Ireland (23%), less than New Zealand (32%), UK (33%), Spain (34%), but not by an extreme amount.
This is silly. Budget vs GDP is not how you measure how much a government provides. You're not controlling for waste.
It does. It is much more legitimized to delegate these kinds of decisions to the state when the state is paying for the health care. In other words, the state paying for care is a pre-requisite to the state having the ability to make these kinds of extreme/overruling decisions about care. Otherwise people wouldn't tolerate it. The state paying for care is a power dynamic.
Consider the opposite, of a state that doesn't pay for any care, telling Alfie Evans parents that they have to take him off of life support, and tell me that you think the social reaction would be the same and people would just accept it. They wouldn't, and that shows you how much the issues are linked. Again, it's a power dynamic that increases legitimacy.