Robots are finding their place in responding to the needs of a population that is aging and increasingly feeling isolated.