I think batteries for over the road semis are a long way off, even for shorter hauls. If you wanted to go the overhead wire route, diesel-electric would make more sense because as
>>1912750 says, both are proven technologies.
However there is the issue of weight, adding an electric motor to the tractor isn't negligible and it will result in higher fuel costs and maybe a penalty to the overall tonnage they can haul, which would make them less economical. Not sure of the specifics though, and that would vary by country. Having a diesel-electric drive may mean trucks could have smaller and lighter transmissions to offset the weight of the electric motor.
Even if it is economical and practical to produce tractors in that configuration, there's the matter of stringing up and maintaining the overhead wire--who will pay for it? How will trucks be billed? Where will it be? How will it fare in adverse conditions? How tall should it be (to permit oversize load shipments)? There are still many questions to be answered, making widespread adoption seem like a long shot.