My level of immersion usually is quite high if I like a game. Even today. Despite crud graphics and AI behavior. I'll use an imagination to tell the missing part of the story or give NPCs goals and desires. Simply because if feels better. By analogy, I would not kill innocent because that feels bad to me. So, if the day will come when all this missing part will get filled by brilliant AI I am not going to kill it either.
Probably the reason that people have no quarrels with killing everyone in a game is that it's very difficult to convince player that NPCs have a feelings. Even in modern AAA titles when you start shooting in the middle of the city it looks more ludicrous than real. People are frightened, sure, but very often they make really fake poses, run randomly with hands up, or do some other stupid things. It's hardly convincing, so shooting them is easy and players have no remorse about it. You can easily see they are fake. But should they behave really human-like, should you see their pain... would you still pull the trigger?
There wouldn't be one AI that felt pain per NPC, it would be a general orchestrator deciding which NPC to make cry and how they should act.