No, they created the possibility for the most valuable mobile software market in the world. Third-party developers were the ones that created it into the most valuable mobile software market in the world.
> by creating the iPhone
Creating the iPhone does not explain the source of the App Store's value, only that one is "tied" to the other. Which leads to my next point.
> You can describe this as anti-competitive, just keep in mind that you're assuming your own conclusion.
It's anti-competitive according to the law. The practice of selling a service (ie: commissions from App Store) as a mandatory addition to the purchase of a different product (ie: iPhone) is called tying. In the United States, most states have laws against tying, which are enforced by state governments. In addition, the U.S. Department of Justice enforces federal laws against tying through its Antitrust Division [1].