Fun fact: While metric predates our full understanding of electricity, our understanding of electricity played a key role in the definition of the SI units.
As I understand it, the reason the SI unit for mass is kg not g - making it an outlier to my mind - is so that electical engineers could keep volts and amperes as convenient numbers.