AI companies are increasingly looking abroad for opportunities to build data centers, driven by mounting costs, public backlash over energy and water consumption, and the search for cooler climates in the U.S.