Gov. Gavin Newsom signed a raft of technology bills Thursday while sounding the alarm on artificial intelligence — even though, two years ago, he pulled the plug on California’s strongest attempt to rein in the powerful technology.