General Motors wants to make eco-friendly cars and make sure some of those cars get eco-friendly source of electricity. That's the idea behind the company's $7.5 million equity investment in Sunlogics.