That technical progress resulted in a few companies and farm conglomerates becoming incredibly wealthy. But the benefits that we all received was we didn't have to toil in a field, and we get fresh beef on every corner.
The wealth gap growing, and the median person being better off aren't mutually exclusive.