Artificial Intelligence (AI)
The opponent cars in all single-player modes are controlled by the AI. You can change settings of the AI in the Gameplay menu. There are various variables like Stamina and Risk Taking to be set.
Ingame you can let the AI take control of your car by pressing CTRL+I.
An in depth explanation about the AI-Slider usage can be found here.