The country can also kill most of their talent psychologically, if not physically and force best to exile, with mix of repressive politics, military, no freedom s etc. There seems to be correlation of freedom in a country and innovation success.
However, during the early days of the space race, there was literally nothing the US could do to catch up with the Soviet Union space program. Their best hope was a former Nazi engineer.