I agree that there have been times where Apple has not allowed an app in the app store for dubious reasons. For example, not allowing Google Maps for the longest time was ridiculous and blatantly anti-competitive.
Swype however is kind of an obvious example of something they likely are not allowing not because of fear of competition but because Swype, if successful, would effectively fragment the text input mechanism on iOS. I can respect the argument that on iOS Apple wants to maintain control of the experience of entering text. Regardless if you feel this is an ethical thing to do, I think you have to acknowledge that in that case it is less about anti-competitive behavior and more about maintaining consistency, which is a core tenet of good design. I think overall the App Store process is largely about maintaining things like quality, consistency, and performance, and if you don't believe me you can look to examples like the Facebook platform where the element of human-screening was ignored and the place filled up with garbage.