Assetto Corsa AI is certainly not the best ever. But it has improved a lot! You no longer get hit from behind all the time. They are more aware of your position. And their pace is really well balanced in many combos. If they experienced tyre wear the same way players do, and were able to choose sensible strategies, they would get even better for long distances. But for short races they´re already up to really good standards!