Tesla says it has reached agreement to purchase SolarCity for US$2.6bn to create what it maintains is the world's only vertically integrated sustainable energy company.