There is an alternative argument that government should be treated like any other financing partner and recieve a share of ownership in such patents with the revenues used to fund further works, thereby driving the majority of funding to things which have the greatest consumer benefits (proven through the value of patents).
There's ways that leaves us with some innovations left by the wayside though, so a mixed system would likely be best to ensure the best net outcomes