It's linear, and it only applies to capacitors. Batteries are a completely different beast.
The cost reduction we have been seeing for batteries has completely different reasons, and no relation at all with that.
It does apply to spooled batteries, which is pretty much most modern batteries but most importantly Li-ion batteries
Quadratic growth is very, very different from exponential growth – both from a theoretical as well as a practical perspective.
As stated in the Wikipedia article you linked to, that's an inverse-square law. That's a far cry from inverse-exponential.
I guess the distance between the electrodes affect the internal resistance which can affect the effective energy output somewhat, but primarily it's the number of molecules that can undergo redox that affects the energy stored.
Due to this, scale and other reasons, we’ve seen batteries become 15-20% cheaper year over year [2] for at least the last two decades.
[1] https://en.wikipedia.org/wiki/Coulomb%27s_law [2] https://data.bloomberglp.com/bnef/sites/14/2017/07/BNEF-Lith...