Apple is throwing in the towel, facing down soaring memory and storage chip costs.