Many farm-products have negligible farm-labour cost in their production: beans, rice, tomatoes, pulses, potatoes, onions, grains...
Their farm costs are in land, storage, drying and expensive equipment. They're not being picked by hand and manually weeded.
And even then, the price difference between the farm-gate and grocery store is massive.
Fruit and fresh vegetables are much more labor intense.