German Chancellor Friedrich Merz will visit China as Germany worries about rising Chinese competition and Beijing’s stance on Ukraine.