In the fleet space Smith Electric worked on this since 2005 and it seems like their trucks are in the perpetual prototype mode. The battery energy density vs cost still seem to be the major factor. Interestingly enough even regular gasoline engines are pretty reare and diesel dominates the field.
https://en.wikipedia.org/wiki/Smith_Electric_Vehicles