President Emmanuel Macron used a speech to Congress to deliver several rebukes to his US counterpart.