As long as there are more productive employment types available.
Anyway, I disagree. I think the sheer speed of the change will create a disaster much sooner than automation quality will make humans obsolete. It took more than a century for the steam engine to replace animal engines around the world, then the electric engine replaced it in half a century. Things are accelerating, and are already much faster than by that time.