French President Emmanuel Macron has looked to win over tech bosses amid hopes to boost AI capability.