China has gone to great lengths to position itself front and centre, putting on a spectacular show on Sunday night, built to impress the world's most powerful people.