Technically speaking, batteries do get lighter when discharged! But not in any useful way, and entirely unlike the situation with aeroplanes, of course.
But I'm no battery expert, maybe someone knows better.
In special relativity, the conservation of mass does not apply if the system is open and energy escapes.