The Trump administration has issued a rare warning to US companies about the risks of doing business in China, saying new rules imposed by Beijing have worsened the business environment and increased risks for American firms.

The advisory, published on Monday by the US Departments of State and Homeland Security and the Office of the United States Trade Representative, identified six new Chinese State Council decrees. It said the measures have expanded Beijing’s power to “penalize companies for complying with US law, interfere with efforts to diversify supply chains, and restrict transfers of technology and capital.”

The advisory said Beijing’s use of “its dominance in rare earth supply chains as a tool of economic leverage” raised “serious questions about the predictability of China’s business environment and the security of American investments, intellectual property, and personnel.” It described the new rules as a “significant deterioration in China’s business environment” that creates heightened risk for American companies.

The warning comes weeks before US President Donald Trump is due to host Chinese President Xi Jinping at the G20 summit in Miami. Washington announced new tariffs on Beijing last week. The BBC has contacted the Chinese embassy in Washington DC for comment.

China announced export controls on humanoid and other robots that could be used for military purposes on Monday. Under the restrictions, some advanced “legged” robots with dual civilian and military uses will require export licences from 29 December.

Tensions between Washington and Beijing have risen despite Trump touting his strong ties with Xi. On Tuesday, Nvidia chief executive Jensen Huang is set to face US lawmakers’ questions over his relationship with alleged Chinese spy Alice Huang (no relation). Beijing has denied any espionage claims.