This is an apples to oranges comparison though because Amazon and Apple do very different things. The thing is that unlike Amazon, Apple is primarily selling a platform. To some real extent, hackers are their competitive edge. (This is somewhat true of Amazon now that they're in cloud services I suppose, but that's still a negligible part of their overall business and has been great PR for them in the hacker community.)
The iPhone before the App Store was either a middling failure or a middling success, depending on your viewpoint, but it certainly wasn't a slam dunk. It was on track to undersell the 10 million projected handsets by the end of the calendar year (about 18 months after launch) even after severe price cuts. See this chart for unit counts: http://en.wikipedia.org/wiki/File:IPhone_sales_per_quarter_s...
The green bar marks where apps came in. The app store is most, if not all, of what made it the slam dunk it is today. It's hard to argue that people cared that much about 3G back then, especially AT&T customers.
So alienate the people who make the apps, and you lose a lot of the reason for customers to purchase an iPhone. Hence I'd argue that Apple's image among developers is a lot more important to their success than Amazon's.