Kim Jong Un has seen an historic shopping district and taken a night cruise as his state visit to China came to an end.