It is true that both Germany and the US considered it a race.
However, as it turns out, by the end of the war, Germany was actually pretty far from even seeing the finish line. For some reason, murdering or driving away many of your brightest minds because they happen to come from the wrong branch of the religious tree/diverge from the mainstream sexual orientation/don't adhere to the political cult in power doesn't help come up with breakthroughs in fundamental sciences.