The EU Approach to the Regulation of Artificial Intelligence