I'm not sure that fitting Earthlike habitats in giant spaceships would make sense without limitless exponential growth. Wouldn't it be more feasible to put something on the surface of a planet?
No matter how advanced our technology gets, we are not going to get around the basic constraints on energy.