US President Donald Trump spoke with Chinese President Xi Jinping on the phone amid trade tensions between the two countries.