California enacts new laws aimed at companies using AI to initiate job cuts or monitor employees.