Daimler Trucks & Buses said it was investing in US company Proterra.