Capacitors store energy in a way that the voltage is whatever voltage they were charged to. You can get a huge current as the capacitor is discharged, but the voltage is never higher than what the capacitor was initially charged to.
Inductors (transformers) store energy in a way that the current through them while they are being "charged" will continue to flow after they are disconnected, which creates a huge voltage.