Technology does not advance in a vacuum (pun intended). When you say that you are ignoring that the technology advanced <i>because</i> some of those trillions were spent in research, even though the research has more goals than enabling a manned mission to Mars.