I'm saying that in a "free market" that doesn't respect intellectual property, the government has little reason to invest in that research, since it cannot benefit from that investment. Nobody can. Research and development is a black hole that profits everyone BUT the one investing in it. Because everyone else who isn't investing in it can just take whatever you develop and use it as their own, without having to invest anything themselves.
Maybe you could get some government investment in necessary products for the general welfare, like healthcare research, but outside of that, it destroys all motive for research and development from any perspective but the personal satisfaction of making something. You can't write a book and sell it, because anyone can just download or print a copy for free and say THEY wrote it. You can't make any profit off a new product, because any money you spent developing it is a net loss, and everyone else is making as fast or faster than you are without having to sink that cost. Etc.
This is just one of many reasons the idea of a pure "free market" without government controls is a fantasy that cannot work in practice.