Zero value in a work environment doesn't mean zero power, after all you could still overthrow a government if they didn't play ball.
The industrial revolution facilitated a workers rights movement which resulted in better living standards.
Similarly I would imagine the AI revolution will facilitate a UBI movement.