They're just different - electric is better in a lot of ways and gasoline is better in a lot of ways. I don't think you'll see electric cars doing endurance racing anytime soon.
Their chief limitation is managing heat, and maintaining the DC motors themselves.
That weight is terrible for all sorts of other reasons, but that massive ~4,900lb curb weight combined with all-wheel drive is a major factor in the Model S's 2.3 second 0-60 times.
Torque is k*HP/rpm, whether electric or ICE. If you can slip the wheels you can go faster. It's well known in the supercar world that you can often do a great estimate of top speed based on HP alone, given how aero dominates at speeds above 100mph and these cars aren't wildly more drag-efficient than one-another.
Top speed ^3 * cross sectional area * drag coefficient = HP.
Which is why supercars are so low to the ground, having 1/2 the cross section effectively doubles your horsepower. Though that’s assuming the car can handle the forces involved.
The axle strength on this thing must be crazy.
7 electric motors must be able to crank out torque.
(people don't generally realize the model 3 performance is almost 500 hp)