The Falcon only has to solve the problem of getting the payload into orbit. The Shuttle had to both get payload into orbit and return its crew (and the Orbiter, and any return payload) safely to Earth (the Dragon capsule has to do this as well but the statistics given are for all Falcon launches). So as far as comparing the technical challenges involved with Falcon vs. the Shuttle, the Shuttle was solving a harder problem, which I think makes the numbers for the Shuttle look even better relative to the Falcon.
Harder at least as in there are extra steps that can go wrong (re-entry + landing), I suppose it’s debatable which was really a more difficult engineering project…