Europe has made history by delivering an armoury of rules, the first in the world, to regulate the development and use of artificial intelligence systems.