Chinese President Xi Jinping and French President Emmanuel Macron were among the first world leaders to speak by phone with President-elect Donald Trump.