Harbinger Motors closed a Series D funding round worth $240 million, following recent wins that include a $300 million order from FedEx and a defense contract with the US military.