General Motors is abandoning its BrightDrop electric delivery vans, just four years after introducing the vehicles.