Presidents Barack Obama and Xi Jinping met for the last time, with the Chinese leader warning the period after Donald Trump's election is a "hinge moment" in relations between the two powers.