Billions of dollars of programming time can be spent on self driving cars, not so for your NPCs.
When large amounts of programming time is spent on game ai it does end up "self driving" at an adequate level, see Google's sc2
bot, Google's older arcade game bot's, and openai's dota bot. It's just not worth it investing that amount of time into most games.