Beijing has won the battle to host the 2022 Winter Olympics after the Chinese president, Xi Jinping, made a last-minute vow to lay on a ‘fantastic, extraordinary and excellent’ event