I do machine motion monitoring, changes, edits, and logic in a gigantic factory. It’s great work. Everything comes to a screeching halt without me. The human need is in the maintenance of these systems.
Every human likes to feel needed, then one day they are not.
It's something of a Star Trek future. The earth will be in the stewardship of a small population of highly-educated technicians, clocking in to labor periodically only to ensure the machines stay running. All their basic needs met, they enjoy mostly a life of leisure and scholarly pursuit.
The ever-increasing number of illiterate, unskilled peasants mired in poverty and fueled by religious fundamentalism, there will be no use for. They will have nothing to contribute except for mouths that need to be fed. They will be seen as an obstacle to progress and dealt with as such.
The Star Trek future may be nice but getting their isn't going to be pretty.