Invention is driven by people who think "We can", "We'll figure it out", etc. The fact that Benjamin Franklin couldn't see perspective in flight... makes him... "human". In the same way that some-one(supposedly) said "I think there is a world market for maybe five computers".
Fortunately there are people in the world with "vision", it's these people drive development
NASA has been around for a fairly long time, and I doubt it has been good investment as a "development platform".
Universities and are great at inventing stuff to solve problems. If USA had invested "NASA's" billions of dollars in universities, then more people could get a better education... which would be also be a better driving-force for the economy.
If NASA(USA's taxpayers) hadn't paid excessively for these "developments", then the "private sector" and universities would have done the same, and spent a lot less to do it.