Their previous humanoid robot, Atlas, was using hydraulics. But Spot (the dog like one) is not.
different configuration, but electric motors are fine if you get momentum on your side. Humans use their entire range of motion get build up velocity to jump; this is motion control thing.