Even more like to like would be to compare the battery with a fuel tank + a turbo-generator.
For any kind of battery, there will be a power threshold over which a fuel tank + a turbo-generator will be smaller and lighter.
So a useful comparison would determine those power thresholds.