Donald Trump said Friday he would impose “tremendous penalties” on American technology companies that build datacenters abroad, but gave no details and said he had not informed his officials about the plan.

At a wide-ranging White House press conference, Trump said he wanted datacenters built by US companies to remain in the country. “We’re not allowing datacenters to go into other countries, because China will take all of them, and we’re not allowing that to happen. And we’re going to put tremendous penalties on companies that try to do it,” he said.

He urged communities to welcome datacenters while seeking concessions from developers. “You ought to take advantage of the datacenters. Make them pay you, make them pay your community, but don’t shut them off,” he said. “We want them to build it here.”

The article says US technology companies have responded to opposition to datacenters near homes by pledging to take fewer government handouts, be more transparent and give more money to towns and cities that allow server warehouses.

Trump also said he would “look into” reports that Iran might detonate a “dirty bomb” in Washington DC. He called the report a “rumour” and said: “If they do, we’re going to fight.” He added: “We know a lot about what’s happening in Iran. We know everything they say. We know who they are, where they are. We’ll find out about it.”

Asked about reports of a rift with JD Vance, Trump called the vice-president’s comment blaming Republican midterm losses on the Iran war “a very accurate statement”. Trump said he would have added that, if asked whether he would act again, “absolutely, the answer is yes, because we cannot allow Iran to have a nuclear weapon.”

Trump said he had “fantastic relationships” with Russian president Vladimir Putin and Chinese president Xi Jinping, whom he met at the Apec summit on Thursday. Asked whether Putin could be considered a friend to America given Russia’s close ties with Iran, Trump said: “I can’t speak to America,” before adding: “I consider [that] I have fantastic relationships with Putin. That’s a very good thing. I have fantastic relationships with President Xi. That’s a good thing, and our country is safe because of that.”

Trump also repeated his complaints about the Department of Justice investigation into Russian attempts to influence US voters before the 2016 presidential election. “I’ve been dealing with Putin … [since] the fake Russia, Russia, Russia hoax,” he said.

Trump said Gina Hinojosa, who defeated his Republican ally Greg Abbott in the Texas governor’s race, had called him. “She was really nice,” he said. “It was a very productive call. And she wants to have a strong border, and I think we’ll be able to work something out.” He also described Hakeem Jeffries, who is in line to become the next House speaker, as “a smart guy. He’s a streetwise guy.”

The report also notes that the Trump administration issued rules on Monday to restrict remote access to advanced US computing chips and servers, saying the move was intended to limit China’s use of US chips to train artificial intelligence models. A House committee said Wednesday that the US had approved sales of nearly 900,000 AI chips to China in six months.