I can imagine running electric wires along tha tracks is a big challenge. However I think using the container BESS mentioned in the video above receiving trickle charge from the grid would leave opportunities for local solar generation to augment the grid too. Think of it like a decentralized solution. Scales much more and provides resilience against outages.