This "tragedy of the commons" with regards to medical science causes everyone to misattribute things. Europe for example can pay little money for their medical practices because of the US bankrolling the research and drug development that allows them to do so.
One route to fixing things in the US, if we really wish to do so, is to create by law a "most favored" status for the US such that if a US drug company sells outside the country, they must sell the drug in the US for the same price as the lowest price they sell it to any other country. This would largely fix our expensive healthcare, but would also harm the world heavily in advancement.