Diesel-electric: no range problems, and much more efficient than a straight diesel.
And most of the reliability, safety, service, complexity problems of a diesel, plus the loss of around 2.5 tonnes of cargo capacity due to the genset, fuel and systems weight. The net efficiency of a diesel charging a battery electric vehicle, would be appalling. And I can't see any urban area letting truckers run a genset at 50 kW full tilt for 12 hours.
This is more Muskery - self promotion, rather than a practical solution.