SunEdison has agreed a partnership with a Chinese investment firm to build 1GW of solar energy capacity over the next three years.