There is such a theory that intellectual work will also be replaced by robots with artificial intelligence.
If robots replace the work of a larger number of the world's population (and this is possible). Where do people work? Where to get money for life?
I would not worry about it today, the next 50 years will not change anything.