Cook warned that Apple is facing supply-chain headwinds from RAMageddon that could impact its business.