This is my favorite example of this type of argument, because the moon visits should not have happened when they did. A handful of government employees spent a few days on the moon (at an enormous cost to other Americans) at least 40 years before there was any useful reason to get there. The evidence of this is that we haven't gone back.
As for your other examples, your claim is as absurd as saying that if it weren't for Edison we wouldn't have interior lighting or if it weren't for Bell we wouldn't have telephones.
If in 1978, we had diverted 5% of GDP for 10 years to building something like Google, we probably could have done it. But in 1988, it wouldn't have been terribly useful, and by waiting 10 years we got Google anyway at a much lower cost (and without coercively spending other people's money).