Beijing has defeated Almaty, Kazakhstan to host the 2022 Winter Olympics by majority vote, the International Olympic Committee (IOC) has just announced, making the Chinese capital the first city to host both winter and summer games.