California workers are getting new protections over how AI is used to monitor them, make job decisions, and drive layoffs.