President Trump’s visit to Beijing comes as relations with China have became more combative.