This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
I recall reading quite a few of those, but don’t recall any specific building ones, esp not which much themes of ‘people stop interacting with the outside world’.
@Soyweiser Not as a primary focus, but as a background fact, e.g. Trantor in Foundation.
The granddaddy of those would be E.M. Forster’s The Machine Stops, from 1909
The Caves of Steel was basically named for it, with a major plot point revolving around the fact that everyone is too agoraphobic to have committed the murder because of generations spent living in giant domed cities kept isolated from the natural world.