Instead of the elderly living in homes/apartments by themselves, why not try to get them to live in elderly communities where they can engage with other elderpeople and have caregivers oversee their journey into eol.
@timhon, I meant as a society, why not invest in elderly communities. Their pop is only going to get older, so it behooves them to address this option.
As, a side note, there is a curious phenomenon of relatives going along with the rouse of their dead elders living so they can cash their checks. Seems to be in the news on occasion.