Aren't those car so high tech that it knows when to brake and accelerate, once it learned the track? I know they take temperature into consideration.

No, the driver still has to control the car. There is no traction control, abs, or active suspension. As far as aerodynamics goes, nothing else even comes close. But the mechanical bits are actually fairly basic.