Authorities around the world are racing to frame rules for artificial intelligence, including the European Union,…