While some of the examples are more apt, iPhone/iOS actually integrates a good deal of open source software itself i.e. Darwin, WebKit, LibDispatch, Core Foundation, Swift, etc. Further the openness of Android has been called into question by many over the years. Android isn't just AOSP anymore than iOS is just Darwin. I imagine a degree of the innovation provided by OSS has helped Apple keep profit margins as high as they have.