Technology companies are investing heavily in building large-scale data centers to support artificial intelligence infrastructure, with facilities comparable in size to aircraft hangars containing servers, cooling systems, and networking equipment.