Last August, a Spanish company called Rioglass Solar announced plans to build a factory in Surprise, Ariz., a suburb 25 miles outside Phoenix. Building a 160,000-foot, highly automated plant takes time, but Surprise was hungry. It sped Rioglass through the permitting process and suspended fees. The project broke ground in January.