Battery pack being DRM locked, while gas tank can't be.
They're both naturally rather simple affairs: In their most primitive forms, a fuel tank is just a container that holds fuel, and a battery is just a collection of cells.
But nothing at all prevents either thing from being rather more complex than that with the inclusion of necessary electronics that are DRM-locked.