Futures markets and long term contracts don’t help people eat. You can’t eat food that doesn’t exist due to droughts, floods, freezes, fires, or pestilence.
Stockpiling is a rather straightforward operation. In addition, the benefits of stockpiling are both rivalrous and excludable. Ie stockpiles are not a 'public good'.
So the private sector is perfectly capable of stockpiling, too.