California's AI disclosure highlights how states increasingly use algorithms in criminal justice, benefits and schools.