North Korean leader Kim Jong Un was treated to a lavish welcome by Chinese President Xi Jinping during a secretive trip to Beijing as both sides seek to repair ties ahead of landmark summits with Seoul and Washington.