That's a big problem with technological progress. It fulfills more and more of our needs, making it harder and harder to fulfill our need to be needed. Sure, you can give everyone basic income and robot caretakers, but people who aren't needed by other people will still suffer. I would much prefer it if society somehow changed itself to want and need all of its members, not just the young productive desirable ones. That's a kind of utopia I've never read about, it just kind of crystallized in my mind after years of thinking about this.