What is often not considered is that people who don't make money working in a job, don't spend money so replacing people by computers and algorithms is not really that good for the economy. A possible solution: a basic income for everyone! As a bonus: out of two working parents, now one can stay at home to actually raise the kids and leave a job opening for someone else to take.
Here's a glimpse of our possible future:
Want to read my short stories? My author page: Terrence Weijnschenk at Amazon https://www.amazon.com/-/e/B00K4007NG