We've had automatic coffee machines since the 1950s, and yet Starbucks employs over 300k people.
Everything being possibly automated doesn't mean everything will be automated. There is always value in human work, even if we are objectively worse at working than robots and AI.