Attorney General Rob Bonta alleges that the artificial intelligence misled and endangered the public.