The solution is to pay these positions well enough to attract people who genuinely believe in the profession. But society optimises away from doing that because there's no obvious ROI outside of making running costs cheaper.
So we'll get the robots instead and the cries in response to the horrors of malfunction, will not be heard because the victims are politically weak. I only hope we never do this in education.
I am noting that the current system is dystopian, and pointed out the causes for those dystopian.
I would have hoped that the implication is obvious: the system is at fault.
In the UK at least, I reject that homes are run like prisons, mainly because prisons here have much less staff and a lower standard of cleanliness. We also don't (yet) have private prisons.
"solving" adult social care is a big issue that can't be solved by staffing alone.