https://insideevs.com/news/359903/video-nissan-leaf-beats-te...
Doesn't really seem like a fair comparison, regardless of what the subtitle says.
https://www.youtube.com/watch?v=4jSG_10_JRg
EVs are uncompetitive with ICE cars in 24 hour races at the moment due to the time lost in recharging. Much faster charging or fast battery swaps would be needed to match ICE vehicles.
That's amusing. I tried doing a rough calc when researching the answer below and came up with about 2000 miles or 3200 km for an electric. Close!
If batteries got 50% better they'd be competitive.
For LeMans, I think you'd have to do something similar to bumper cars with an electrified grid above it.