General Motors Ventures is to invest $6 million in Proterra, the zero-emission commercial transit bus manufacturer.