Actually there's a cool startup my friend runs called Stella. There are warehouses the size of Shea Stadium filled with apples and totally sealed off in controlled air environments. Low oxygen etc .
His team builds IoT hardware sensors to detect "ripening" chemicals and report them back to the producers to reduce waste. The trick is to get the apples to market at just the right time