You're correct, if your route is not predictable then that could be a problem.
But there are loads and loads of applications where this isn't a problem, or where the organization that would use them for their own technicians, mechanics, and other support personnel are geographically constrained to where it would be difficult to even come close to that sort of range anxiety.
At one point I worked for a K-12 school district doing IT support, and that district had hundreds of vans as part of the "white fleet", some cargo, some passenger. The vast majority of these vans were driven within the boundaries of the school district because they were used for all the normal support-staff functions for maintenance, repair, inter-office mail delivery, etc. There were also vans available for teachers to use to take small groups of students on field trips, but again within the municipal group of cities, 150 mile range would have been entirely sufficient.
The problem is that school districts are constrained by purchase rules requiring purchasing the least expensive thing that meets the on-paper requirements. If no one puts in a requirement that the vehicle must be electric, or no one puts in requirements that the total cost of ownership needs to be within a certain amount, then the electric won't be adopted by that fleet even if they keep their vans for more than two decades and even if it would ultimately be less expensive to run.
I expect that other organizations have similar situations, that the initial costs to buy the electrics are high, so they cannot justify the purchase even though over the life of the vehicle it may well be cheaper.