Chinese President Xi Jinping and North Korean leader Kim Jong Un have underscored their commitment to deepen cooperation in a closely watched summit.