The EU has taken a progressive step towards regulating AI. Its implications will reverberate worldwide.