Trump himself was the last US president to visit China in 2017, during his first term.