UN's first AI assessment highlights benefits and risks