Behold the power of government to spend lots of money!
it only counts as rational if the benefits exceed the costs.
The primary benefit to say the Apollo program in the 60's and NASA from its creating up to the late 70s was status signalling. Thinking of other ways to signal status and pre-eminence in that time period I have a hard time thinking of something that would do as much with such a small investment.
Decisively winning the war in Vietnam might come close. But I need to look for the figures of what the RL Vietnam war cost. In any case comparing the cost in lives (including indirect ones) the cost is probably ridiculously smaller.
I think we will see future manne...
Behold the power of applied rationality!
...ok, this is really just geek mind candy.