Holy baloney that's expensive. What can you do when your elderly parent is suffering from dementia and can barley walk anymore and neither you nor they have that kind of money to spend?
Bankruptcy. Not for the elderly person, because elderly have protected federal income. But bankruptcy for the children who are on the hook due to filial responsibility laws in most states.
In some states, there is something called a Lady Bird Deed. It lets people keep their homes while still being eligible for Medicaid. Plus, it avoids the probate process.