If there were no patents, the iPhone would have never been built, because Nokia would have kept this IP as trade secret, or not developed it at all. For companies, patents increase the value of R&D investments by orders of magnitude, and without them, most current R&D spending would be impossible to justify to shareholders. If there were no patents, Apple would have no financial incentive (and that's the only incentive public companies have) to invest so heavily in all of the technologies in the iPhone, as they could easily be copied by others.
The world isn't as simple as "competition always yields innovation". Giving companies limited time monopolies on their discoveries (by definition, limiting competition) increases the amount of R&D they do. This was understood hundreds of years go, even before the Copyright Clause was debated, and still holds true:
http://en.wikipedia.org/wiki/Copyright_Clause
I'm not saying that the spirit of this holds true here, or in every patent case. I'm saying that responding "ugh! patents suuuck!" is too simplistic of a world view.