It was the first visit by a British prime minister since 2018 as Labour attempts to ‘reset’ relations with Beijing.