Microsoft founder Bill Gates tweeted on Wednesday that he had arrived in Beijing for the first time since 2019.