Control over the use of artificial intelligence was the most hard-fought issue in the long, methodical negotiations, and became the main driver of dissent during the voting.