The space race cost hundreds of billions in today's dollars, and AI could do a lot more for/to humanity than put a flag on the moon.
And I'm guessing Uncle Sam will want control of these AI companies anyway if AI starts looking even a little powerful/threatening.