On the PC it doesn't matter whether companions/NPCs cannot be killed, because there is still the allmighty power of the console. Every NPC can be made (un-)killable with a simple command.
In Skyrim I made every of my companions unkillable via the console because they managed to trigger nearly any trap I encountered, and I got fed up manually steering them around every one of these traps.