The US president threatened to ban American companies from building AI data centers abroad, providing few details.