Chinese President Xi Jinping attended the closing session of the 19th G20 Summit in Brazil's Rio de Janeiro on Tuesday.