Donald Trump said he will not allow American companies to build AI data centres outside the United States, and he threatened a "tremendous tax" on tech firms that do so. "We're going to keep it all in this country," he said at a press briefing after returning from Asia. He said the policy was news to others in his cabinet and gave few details.

Trump said China would take the data centres if US firms built them abroad. "Because China will take all of them, and we're not allowing that to happen," he said. The source reports that it remains unclear whether the idea will become policy, or how it would be enforced.

The remarks follow a Washington announcement on Monday that firms would need a licence to buy advanced AI chips. The move aims to let US officials monitor whether chips are being used to serve Chinese companies or smuggled into China. The source says it will affect Southeast Asian countries that have invested heavily in data centres.

The source reports that Meta and Google have agreements to build data centres overseas. Meta has broken ground on a data centre in Alberta, Canada. Anthropic has signed a long-term agreement to lease a proposed data centre in Nova Scotia. In September, Google announced a €13bn ($15bn, £11bn) investment in AI infrastructure in Finland, including three data centres. Building work on two of those centres was halted last month over concerns about clearing more than 300 hectares of forest. Trump said his administration was "not allowing that to happen" in Finland.

The source says Pew Research Centre counted about 3,000 data centres across the US as of April, with another 1,500 in various stages of approval or construction. Data centres were a central issue in the midterm elections, where Democratic candidates won on promises of tougher rules over noise and energy use. Trump said the US should "make them pay" communities rather than shut data centres off.

The BBC has contacted Meta for comment on Trump's remarks.