North Carolina — like much of the U.S. — is in a high-stakes race to protect consumers and the climate from the data center boom.