I don't think that there is a relationship between the job opportunity the race to moon made and the lack fo the "invisible hand".
In my opinion still today Russian and Cina does not have a completely free trade.
In some cases the State promotes people that want to study engineering, giving them scholarships or financial help, so it encourage people to do it, but don't oblige no one in a explicit way.
The problem is that Science, unless it is linked with engineering, and remain on his own, do not give the possibility to create goods or services, only in few cases, for example the Einstein's relativity theory makes GPS to works with great precision, but I can't so so many application that can create lot of job opportunities.