Uber has announced that Madrid will be among the first European cities where its self-driving vehicles will operate.