There is another way to do this, to have three gear ratios with three motors, without having unequal application of power to left and right wheels. I don't think it's what Tesla's doing, because you can't do electric torque vectoring with it - although, I can't quickly find any first-party (Tesla official or Musk) claims that the Roadster actually has torque vectoring, it's just been assumed based on the Semi not having any differential and therefore having torque vectoring - but it has been done before, in Formula E.
So, Formula E's rules in the past seasons have allowed two motors, but only when working through a differential (specifically to prohibit torque vectoring). The initial season had a spec powertrain with one motor and a 5-speed gearbox (the torque curve was actually detuned to feel more like an ICE to ease familiarity for racing drivers). Most teams stuck with single-motor powertrains, and have converged on single-speed (on short city tracks, even a 2-speed isn't necessary).
However, three different manufacturers (NextEV/NIO, DS, and Nissan) have tried dual motor powertrains, geared to the same differential with different gear ratios.
NextEV/NIO had major problems with their dual motor system being too heavy initially, and then just not working well (but their team is now a backmarker even with a single motor).
DS Virgin did decently (but never getting a championship) in spite of the added weight (at the rear of the car, and Formula E cars are already Porsche 911-levels of rear-heavy)... but for Season 5, DS switched teams to Techeetah, and to a single motor, and dominated the championship.
Nissan... they've been accused of using a form of power split device to use one of the motors as a flywheel energy storage device, which was helping them get more regen than the (spec) battery allowed, and accelerate out of corners faster. This was determined based on audio analysis of their car, and very weird behavior that the cars had (including frequently losing control with the front wheels locked up, with top-class drivers) under braking. The Formula E staff decided not to penalize Nissan for it (they weren't winning races anyway) and convinced teams to not protest Nissan's results, but they did end up banning dual motor powertrains for next season entirely.