The Chinese leader, Xi Jinping, has suggested expanding trade ties beyond buying commodities as he continues to rally nations in the face of President Trump’s tariffs.