Apple aren't simply wicked or greedy for locking up the iPhone, it was necessary to break the power of the carrier cartels and deliver some semblance of a neutral mobile broadband service at a bearable price to properly open up mobile internet and location sensitive revenue opportunities. Apple played the carriers and the hackers perfectly with the bait (expensive, revenue sharing, deliberately hackable, limited distribution original iPhone) and switch (low user price second gen with up-front carrier subsidy, bullet proof firmware when Apple wants, and worldwide distribution).
The point is, the so called "mistakes" and "greed" have been an essential part of Apple bootstrapping itself rapidly, safely, and profitably into a highly competitive market. Like Microsoft's condoning PC software piracy until competition withered, but far more subtle and in an established market. I doubt Apple knew in detail how the game would play out, but the carriers, the Apple fans, and the hackers played their essential parts perfectly. Without exploiting all three, iPhone would not be where it is today. It's been a joy to watch over the past 2 years, and showed up the other players as relative simpletons.