The rapid growth of AI technology in the past few years has led to rising demand for data centers and energy to power it.