If Apple was actually concerned about circumventing the App Store review process for the purposes of security, they would implement OS-level sandboxing and security models (e.g. something capability-like) - this is both far more secure and allows for more freedom to make apps.
But they don't, because it's not about security - it's about profit.