I think traditionally it was for people who were unmarried. Hence its connection to the church. So expecting enough to raise a family is a relatively new idea.
My overall sense of universities is that, like a lot of places, they increasingly see people as disposable and don't invest in them as much unless they're unusually financially profitable. Student housing is probably a bit different because people are marrying and having kids at older ages, but in the cases I know of the housing and housing cooperatives were still being used and liked. The subtext of discussions that I recall was that this wasn't enough, that the land needs to be put to use making more money for the university rather than supporting graduate students.