FedEx Corp. is planning to make its entire fleet of delivery vans fully electric by 2040, the company said Wednesday.