Socialized systems, the state looks at each new drug and decides if the benefit is worth the additional cost. They will either agree to Buy it, not buy it, or negotiate the price.
When private individuals purchase Healthcare out of pocket, they do the same.
It is only in an insurance Market with mandatory treatment coverage where drugs and Medicine get purchased no matter what the cost is.
If you asked a private individual or socialized system to pay 500K to extend someone's life 2 months, both would refuse.
Someone with insurance that they've been paying for has no reason to put the brakes on