Modern Teslas also can sustain max power as well. Model 3 can basically launch consistently 0-60 in about 3.2sec some 20-30 times with no loss. The new Plaid can do low 9s back to back until the battery is low. Quite an achievement.
I know this is meant to be a joke but knowing folks that work in said department this is only true of engineering cars. They aren't able to do whatever they want with their own production cars.
The TLDR is production cars are "fused" at the factory to only work with firmware signed for production vehicles and devs can't produce these production builds themselves. There is facilities for live patching production cars but these systems are even more restrictive.
On the other hand... all bets are off in an engineering car. :P
I believe this was mostly on the older Model S that didn't have a dedicated coolant pump. It would always run at a fixed speed which was fine for normal usage but not on the track. New Tesla's have added a dedicated small electric pump so it can run at the speed needed to keep the motor in the correct temp range.
I'm sure they can still overheat based on other limitations (coolant radiator, pipe size etc...) but these can be rights sized based on trim level.