French President Emmanuel Macron has said that globalization is facing a "major crisis" and that collective action is needed to confront the challenge.