No. You are conflating a set of laws and precedents (and another nation's different social mores) about parents' and children's rights with a system for providing medical care. They are not the same. The rationale was not cost (Charlie's parents had raised well over a million dollars for an experimental treatment), but the court's decision that to pursue treatment was not in the child's best interests, as Charlie had irreversible brain damage and was probably in considerable pain.