Xi Jinping was joined by Vladimir Putin and Narendra Modi at the Shanghai Cooperation Organisation summit in China.