Emmanuel Macron has told China to open up its markets or face a protectionist backlash.