Diesel electrics (as in locomotives and large trucks) typically don't have batteries. They use the diesel to spin a generator, which directly powers electric motors in the drivetrain.
I wondered about that too, but then I actually read the article, which says these are not just diesel-electric "hybrids" but hybrids in the Prius sense, with battery-based energy storage.