"I didn't know that AI could hallucinate facts," New Mexico defense lawyer says.