Also, how does that investment get prioritized? What if the general public decides that some industry isn't worth investment, despite some people believing it is? Without patents, there is no way for the private sector to invest in R&D without just knowingly burning money.
I'm not saying government investment in research isn't a good idea. I think it is, and is something we should be doing more of, but it's not a replacement for patents.