You are quite right in saying that young people should be encouraged to take care of older people because there will not be enough young people to look after them.
That said, we are lucky to live in the 21st century, when there is a lot of innovation in methods of communication. If seniors are shown how those means of communication work, they are able to use them and they feel less isolated. I'll come back to the example I gave you earlier, where people shared their health records with a remote team, which visited them occasionally.
The well-being of seniors is not just about medication. A whole host of factors make their lives enjoyable and make them feel part of society. The medical community, the recreational community, the transportation sector, everyone needs to think about focusing on that.