Apple apologized to customers after revealing they had been slowing down older iPhone batteries.