People have always relied on work for building social lives. Even when I worked in a shop, I'd end up going for drinks with those people and making friends. When I moved to a new city, my entire social fabric stems off of work (even if the majority of friends are now 1 or 2 steps removed, I needed that foundation to bootstrap).
We're already in a loneliness epidemic, WFH will make that 10x worse.