There are a lot of organisations and volunteering options that deal with loneliness though, at least where I'm from, but they aren't really working. I mean, they are better than the alternative, which is often no social contact, but they aren't curing loneliness because the people involved in the programs are often painfully aware of the fact that they are being helped.
I think what is needed is more environment for adults to hang out. The basic recipe for friendship is basically spending time together outside of work. Spend enough time together and you grow on each other.
That's easy when you're young, but once you finish your education, it stops completely, and if you don't have a friend circle or some hobby activity where you'll get stuck with the same people on a regular basis, then you'll probably end up being lonely.
Can tech fix that? I doubt it. But board game cafes are doing an excellent job all over Europe.