Automation will just make things cheaper, so people will need less money and just need to work less.
If the automation doesn't make things cheaper then how will all these people without jobs be able to afford the products created by this automation? How will this automation survive economically?
These problems are always resolved automatically and naturally by market forces.
aside:
Unemployment is an artificially created situation used by governments to keep the employment market competitive and wages low.
It's easy to solve n% unemployment if you want to - just make everyone work n% less and thus create n% more work.
Why do people like you exist.
I highly reccomend taking a kindergarden level economics course (If it would exist). Would dramatically boost your knowledge of how an economy functions.