California is moving to lead on artificial intelligence regulation as experts warn the technology will both displace and create jobs, bringing rapid disruption to the workforce.