Apple has hit out at a newly launched pornography app available on the iPhone in the EU, warning digital competition rules in Europe could undermine user safety and consumer confidence.