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