I don't see how we could invest trillions of dollars and get nothing to show for it. Consider the Apollo and Manhattan projects, both were large investments that resulted in significant scientific and engineering progress, why would this be different?
Contrary to popular beliefs, spending money doesn’t actually grant you godlike abilities such as defying physics and chemistry.
Because physics and materials science are ultimately subject to reality, they are not a slot machine you put money into and eventually get a payout.
Even your own examples tend to show that. There were in both cases rapid advances followed by diminishing returns as all low-hanging fruit was worked out. 50 years later space travel is still very expensive and difficult. Eventually we may attain reasonably economical orbital travel with sufficient advances in rocketry and materials science but there is no reason to believe any amount of money and time will, for example, give us FTL spaceships.