Now there was on that spot in old times a great and noble city called Cambaluc [Beijing], which is as much as to say in our tongue "The city of the Emperor." But the Great Kaan was informed by his Astrologers that this city would prove rebellious, and raise great disorders against his imperial authority. So he caused the present city to be built close beside the old one, with only a river between them. And he caused the people of the old city to be removed to the new town that he had founded; and this is called Taidu.
Source:
Polo, Marco: The Travels of Marco Polo. Book 2, Chapter 11: Concerning the city of Cambaluc.
Further Reading:
It hadn't rebelled at that point. The astrologers of the Khan just told him that it would rebel in the future.
Eventually the Chinese threw off the yoke of the Mongolian Yuan dynasty and forced them out of the capital, but that was long after Kublai-Khan's death.