Our oldest unis are generally "downtown" or similar - Harvard, Princeton, UVA (sort of - Charlottesville is a really small city), etc. Though most do still have their own dormitory housing, at least for underclassmen.
The large campus-style uni is fairly recent creation - many came out of the land grant system during/after the Civil War. And even as newer unis have been created, they've followed that general design (even though they aren't land grant institutions).
All of those universities you mention still immerse students in the university setting round the clock, though.