French President Emmanuel Macron has told artificial intelligence (AI) firms they “have to choose Europe and France” for developing AI, as he closed the first day of a summit on the technology.