For example, first version of iPhone OS did not have copy-paste functionality. On a device that has keyboard with keys sized 1/4 of my fingertip size. Now try getting a long URL or email from one app to another in this setup. Perfect? Yeah, right.
Another iOS thing - it gained multitasking (for apps other than select few) only in the 4th version. For years we've been told multitasking is evil - right up to the point when they got to make it usable and then it suddenly became newesest bestesest thing ever.
Now we can look at hardware. Macbooks are extremely popular, but I've personally seen a number of Macbooks dying at 2 years of age from exactly the same symptoms (failure of graphics subsystem). It's a reasonably nice piece of hardware, but perfect? No way. And it still doesn't have docking capability, after all these years.
And those are just random things, if I tried, I probably could list dozens of deficiencies in Apple products. Both first and current versions. It doesn't make them especially bad - all their competitors have their sets of faults - but let's not buy into the "perfect" hype too much.
So I can attribute this "perfect the first time" myth to a definite success of Apple marketing, but, unfortunately, there's little substance behind it.