Mythicizing the iPhone is both dishonest and unhelpful. They didn't just figure it out and walk in, it took them years and many iterations to build a world class product.
Apple was able to use the wedge of UX to convince customers to but their devices and gave them time to fix the gaps in their hardware and software.