Chinese President Xi Jinping was holding a two-and-a-half-year-old boy during his inspection tour in China's economic hub Shanghai on Saturday.