Government-funded research is typically basic science research. It results in general knowledge that is usable by anyone, ie it does not support a specific product. No pharma company will pay for something that helps competitors as much (or possibly more) than it helps them.
For example, government-funded research showed how injected mRNA could be directly absorbed and expressed by human cells in tissue culture. That remarkable discovery can be used by any pharma company to make a product. So pharma companies started developing various mRNA vaccines, and testing them in humans (Moderna, Pfizer, etc). But no pharma company would have funded the initial research that showed this was possible.