People have been lying about their experience since time immemorial. You don't need an AI to do it, you can just ask a friend with experience to invent a few plausible projects you could have worked on, and solutions you might have found. Or just look at a bunch of resumes online and read a few blog posts of people describing their work.
I'm not surprised this happened. I'm surprised by why the author was surprised. Maybe "Sam" was exceptionally bad at "faking it" in person, but I've done tons of interviews where the candidate had exaggerated their experience and couldn't answer basic questions that they should have been able to.
Honestly, this is why some companies do whiteboard coding interviews before getting to the interviews about experience, because it does a decent initial job at filtering out people who have no idea what they're doing.