In a commentary timed to coincide with Xi’s arrival, China’s official news agency Xinhua warned that US companies stood to lose the most if Trump followed through on threats to launch a trade war against Beijing.