AI missing some shots is intentional, in some scenarios, it's deterministic. The goal is to make the player drive the car in a position for a good shot. Also, it has limited range (player range is a little bit bigger than enemy range).