@Soyweiser It was a bigger theme earlier: 50s/60s. Asimov, Bradbury, and I think Heinlein all used it.
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