Tesla CEO Elon Musk shared his vision of building a highly integrated, sustainable energy company on Tuesday.