Developers are also disproportionately useful for a platform, since they're the ones who build the stuff people want to use; for more on that, see http://joelonsoftware.com/articles/APIWar.html , as well as the bazillion other writers pointing out similar things.
Although there is some truth in it, I think that Apple is following a different strategy. They don't really attract developers by a developer-friendly environment, but by the number of worthy users of their platform.
Regarding the embedded devices (i.e. iOS, App Store, etc.) you could even call this a developer-hostile environment. Yet there are lots of developers taking this hassle just to get access to Apple's user base.