Apple’s stock slides on supply snags despite record iPhone sales