I bet this is a wrong implication. Agriculture is way harder than writing php.
> The result is that the high IQ people are fine, but low IQ people end up simply unemployable at any job
Even if this implication were true, there is a whole bunch of new jobs that don't require you to be smart.
You could do sports, train people, be a waiter or a beauty blogger or a web programmer or a politician. I would dare say that the amount of stupid work is growing.
And avg person is not dumb at all, never was. The dumbest few always would find some way of doing some service job, especially when service field is growing. All kind of grooming does not require you to be especially smart, even chimps can do that.