There's no immediate [5yr horizon] automation coming to solve this. Human home care workers will be needed [and more of them]; it's in a category of jobs that not even machines want.
But there will be plenty of people free to care for the elderly after the machines take their jobs.
It is good that we give the elderly care to people that has lost their work?