Freyr will pay $340 million for the Wilmer, Texas, facility. It also plans to begin construction next year on another 5 GW solar manufacturing facility.