This is underselling the risks. On top of the many trajectories which push them into unrecoverable situations, leaving them stranded in orbit, there can be trajectories where the moon gives a gravity assist strong enough to fling the spacecraft into escape velocity, fulfilling the OP.
In fact, the trajectory they chose for this mission exploited the opposite effect to yield a free return without propellant expense.
In the modern day, the chance of a math error being the root cause behind this failure mode are vanishingly small, but minor burn execution mistakes that do not require hundreds of extra pounds of propellant are definitely plausible. They were extremely common in the early days of spaceflight and plagued most of the very first moon exploration attempts. Again, with modern RCS this is unlikely. But reentry is still incredibly tight and dangerous. Apollo famously had a +-1° safe entry corridor, and Orion is way heavier and coming in even faster. If their perigee was off they could’ve easily burned up or doubled their mission time, which they may not have been able to survive.
The amount of things that would have to go wrong for the craft to get an accidental gravity boost and be ejected would be significant.
I feel like the original claim paints the whole thing as on a knife edge and barely achieved by virtue of not making a single mistake. In today's age with so many moon landing deniers and worse I feel like we should be specific about where the actual dangers challenges and unknowns there were here. In reality, the orbital mechanics are one of the simplest parts of the entire problem, at least when we're talking about a moon flyby