Mechanical crop sorting - harvesting machines will be the answer. Regular preventative maintenance not free medical care, free education and scholarships to college, social security or open borders.
Necessity is the mother of invention.
For fruit that is not only incredibly tender, but grows on a bush? Fruits and vegetables are not like grains. They have to be picked by hand, and it is hard, hot, nasty work. Machine picking would waste more fruit, in this case than it would save. Same for strawberries, blueberries, cherries, peaches and more.