After years of struggling to match the global popularity of the US, Japan and South Korea, Beijing’s image is improving