California prosecutors’ office used AI to file inaccurate motion in criminal case