Individuals are generally selfish and don't think very well about collective society good, but ever since the Neolithic revolution we've been pretty good about collective investment and risk.
Asking for direct obvious returns from research funds means much useful research won't get done, and researchers will focus on more incremental surer bets (like industrial research or startups). We'd just completely kill our society's competitiveness and might as well start learning Chinese to better welcome our Han overlords.
The entire U.S. system of public high tech investment is mostly done under the pretext of military spending. The military has specific objectives and is looking for clear ROI, but that doesn't impair their ability to invest in core science. They just take a longer term view.
Licensing core tech (instead of giving it away) is not the same as asking for direct returns. It's just giving the taxpayers their fair share of the eventual returns on their investment, instead of letting VCs collect it all.
The whole space program was about developing ICBMs. WII led to huge technological advances (computers for one), etc...
I'm not sure what the mix today is between military-oriented and social-oriented spending is. The fed obviously give lots of money to lots of research universities, medical oriented research with no obvious military applications coming up at the top of list.
Asking for direct obvious returns from research funds means much useful research won't get done, and researchers will focus on more incremental surer bets (like industrial research or startups). We'd just completely kill our society's competitiveness and might as well start learning Chinese to better welcome our Han overlords.