AI in video games are as good as they need to be, if it becomes too good the game will not be enjoyable for the majority of people. You could create an AI that consistently beats a player but what is the point if they will quit because they never win.
A good explanation on the topic here:
https://askagamedev.tumblr.com%2Fpost%2F76972636953
Its not even that, its just really basic dumb stuff. I remember playing half life 1 and coming across the grunts and thinking what a step up. These guys would move as a unit, take cover, flank etc. Since then AI hasnt improved.
Before that enemy AI in games was enemy appears in front of you and fires and has basic movement patterns.
Why don't we get enemies talking to each other, employing real time tactics. Or for example lets say you are playing an RPG. In it you murder someone's father, then 5 hours later the son tries to kill you having spent the rest of the time roaming villages and investigating who was behind his fathers death.
AI is so so basic on a computer game level that i dont think AI will ever be able to think or operate like a human.
We can't even get NPC's in RPG's to operate in any organic way.
Even take a game like civilisation, the rival AI is so so basic, it cannot do anything but a few simply patterns of behaviour based on triggers. To me artificial intelligence is just about how many on/off triggers you can place on it. It operates in a linear sense, frame by frame.