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’.
The granddaddy of those would be E.M. Forster’s The Machine Stops, from 1909
@Soyweiser Not as a primary focus, but as a background fact, e.g. Trantor in Foundation.