President Trump said Friday that he would block U.S. companies from building data centers abroad or impose a “tremendous tax” on them if they did. He made the proposal at a White House news conference and acknowledged he had not discussed it with his own officials.

Trump said the goal is to keep AI infrastructure and related jobs in the United States and maintain a competitive lead over China. He provided no details on how a tax or ban would work.

The proposal could affect Microsoft, Google and Amazon, which are investing billions to expand data center networks worldwide to support cloud computing and AI services.