Apple Inc. Chief Executive Officer Tim Cook said that proposed app store regulations in the U.S. and European Union would put iPhone users’ privacy at risk.