China’s President Xi Jinping has departed North Korea, following a two-day state visit, Chinese state media reported Friday.