Except the US government is by far the largest R+D spender in the world. Its not like the drugs it fund become public domain. You don't seem to address that at all.
[1] https://www.researchamerica.org/sites/default/files/RA-2017_...
If you include prescription drugs us government spends 329bil. So I think us government is pretty vitial to medicine in this country.