Chinese President Xi Jinping has officially opened a two-day summit of the world's major economies, saying the Group of 20 should adopt new measures to generate growth momentum and avoid protectionism.