"Replacing" may be just that. Few locomotives are built for yard work today. Most US switchers are old road locomotives, often half a century old. Sometimes they have a new power package. Progress Rail started as a locomotive rebuilder, changing out power packages for new ones, usually Caterpillar Diesels. Their electric seems to be a repower job of a classic General Motors Electro-Motive Division GT. Here's a video of their standard new Diesel repower job.[1]
Lithium iron phosphate batteries, at least in the Progress Rail version. The heavier weight of lithium iron phosphate is a feature, not a bug, in a locomotive. Locomotives are built heavy to improve traction.
The end result is not just a yard locomotive. Some of these are in test elsewhere for short-haul lines. Range maybe 300 miles.
Another boring, but useful, technology, from old-line industrial companies. This is what makes the world go.