The Midwestern state is the prime location for renewable energy projects. Iowa passed one of the first Renewable Portfolio Standards (RPS) in the country in 1983. The state is also ranked first in the U.S. for wind energy with 36% of its electricity coming from wind power, meaning Iowa can provide the renewable energy Apple and other tech giants need more than other states.

Fellow Silicon Valley giants Google and Facebook have deals with Iowa that let them run their data centers completely on renewable energy. Together, the two companies buy 548 MW of wind energy from MidAmerican, a subsidiary of Berkshire Hathaway (BRK.A), (BRK.B).

Iowa was also ranked number nine overall on CNBC's "Top States for Business" list based on 60 measurements of competitiveness and ranked number two for the "Cost of Doing Business."

–More from The Street