LONDON — Authorities worldwide are racing to rein in artificial intelligence, including in the European Union, where groundbreaking legislation is set to pass a key hurdle Wednesday. European Parliament lawmakers are due to vote on the proposal — including controversial amendments on facial …