People would leave for other companies and still meet up for drinks after work, they'd move away but we'd still stay in touch and meet up if they were ever in town at our usual pub. We'd go snowboarding/surfing/hiking together. Pretty much all my non-school/university friends came from work. I can't imagine not being friends with all these people.
Right now I love remote work, but I feel I'd have a much smaller social circle if I graduated during the pandemic and went straight into remote work.