French President Emmanuel Macron swore during a heated exchange with angry residents in cyclone-hit Mayotte.