EU reaches landmark deal to regulate AI