Getting into business with China was "dangerous," Donald Trump said amid a visit by British Prime Minister Keir Starmer hopes will boost U.K. growth.

Starmer is on a 4-day visit to China this week, the first trip by a British leader in eight years, signaling an attempt at resetting the bilateral ties.

The US president's remarks come as Sir Keir Starmer visits Beijing to reset UK relations with China.