Noting people do is 100% optimal, but productivity gains mean resource constraint problems are more solvable than they first appear.
People are worried about automation driving people out of the workplace while others are worried about a lack of workers due to changing demographics. What’s going to happen is the result of a bunch of different forces, simplified projections are easy to make and unlikely to prove accurate.