Apple has accused the European Commission of forcing it to abandon critical App Store measures that stop children accessing harmful content, including pornography, and protect adults against fraud.