To be fair, I mean, if you're good, it's probably fairly easy to make a meaningful contribution to an open source project of some kind that could be used to strike up a friendship.
College can get you competence if you're bad at self-learning, and a network if you're bad at self-networking, and in those cases it might be worth it. Wouldn't ever discourage someone from attending if they get into a top-tier school like Caltech, since even if you're really good, those are a pretty amazing force multiplier for making smart friends and learning things you wouldn't learn otherwise, but definitely survivable without one.