What exactly did the iPhone do better?
Perfected multi-touch touchscreen
Before that we had touchscreen but they sucked.
---
2002: FingerWorks makes advances in multi-touch technology
2005: Apple acquires FingerWorks and its patents
2007: iPhone launchesThat's a subjective question, so I'll give a subjective answer. The browser, for better or worse, was a lot less dumbed down for mobile than competitors, the stylus-less touch interface reduced UI friction and the odds that you'd lose a critical (if inexpensive) component, and the slew of contemporary iPod users could easily migrate their libraries over.
It preceded its release with the iPod craze, making it a lifestyle product rather than something marketed for its capabilities (which were very humble compared to other contemporary devices and only started to catch up in second gen).