President Donald Trump threatened to tax companies that build data centers outside of the US, warning about the country falling behind in AI.