See that's the thing. Apple does NOT prevent developers from taking payment anywhere else, it just prevents developers from advertising it on their Apple app. How is that making the iOS any safer?
You can't make the purchase through the app. Therefore there's no way for fraudulent transactions to be processed through the app. Refunds are done by Apple, subscriptions are done via Apple, and no mention of any external payments are made within the app. That makes iOS safer.