Chinese President Xi Jingping was accompanied by the Duke and Duchess of Cambridge at a showcase of British and Chinese creativity.