People have tried to blame the Internet for our collective loneliness, but in fact it comes alongside the change in our working lives, the decline of unions and other institutions that gave people a sense of shared purpose and direction beyond just the job.