The visit marks the first trip to Beijing by a US president since Donald Trump travelled there during his first term in 2017.