How?
In simplistic terms it's the same principle as in an ICE - trying to get the motor to operate in a more efficient part of it's operating window.
Given the completely different torque and efficiency profile of a motor compared to an ICE, this wouldn't however be an exercise in trying to make the motor run at the lowest possible RPM all the time. An ICE has appalling efficiency away from it's sweet spot, whereas an electric motor won't see such an extreme drop off.
Whilst slapping a 2 speed or 3 speed gearbox on an EV now might well permit some efficiency improvements (i.e. you might be able to turn 85% at 70mph to 90%), these would be offset by the additional weight and cost - weight in particular probably ultimately resulting in not much tangible benefit to range overall, even if you can make the efficiency better. If you can't make the benefit tangible, then the added cost is somewhat pointless. So outside of applications like the Taycan which have used it more as an aid to improving acceleration /top speed numbers rather than an attempt to make the car more efficient, the cost vs benefit balance isn't really there yet but that doesn't mean it never will be.
Edit - this will also become more apparent once people start expecting more equivalent products to ICE cars - the EQS 53 for example tops out at 137mph. Whilst arguably entirely unnecessary to be going faster, eventually people will start expecting the same sort of 160mph+ (186 in the case of the AMG E Class) capability you used to get in the top spec ICE equivalents. Trying to deliver that sort of top end speed, along with low end acceleration and keeping things in the efficient operating window is going to become challenging without adding another gear.
Last edited: