Friedrich Merz said it would be a mistake to "decouple" Germany from China shortly before boarding a plane to Beijing.