Even if we cannot automate everything, we are going to be in big trouble (on a social level) if the work left to humans only occupies anything less than about 50% of adult people. The relevant thing will be the ratio of decay rate of jobs that are automated away vs. creation rate of new jobs, but that's hard to estimate because technological advances are hard to estimate.