Some NPCs are not so clever. I find Type 9s being beaten up by big ships in a Haz RES, so I rescue them by taking out their enemies, whereupon they immediately go back to mining. Then along comes another ship to beat them up. This scenario repeats until they have about 3% hull left, when I shout at them, "for Christs sake go home. You'll die next time", but they go straight back to mining. A minute later, along comes an Anaconda and boom goes the Type 9.
Then there's the kamikaze ships at the nav beacons. Perfectly good fighting ships turning up with no shields. Hello! Something a bit odd about that. They join in with the battles until they only have 2% hull. Then, as soon as you bring up your contacts panel to check the next target they fly straight into you. Boom! You get a 6000 cr bounty on you and "wanted". Now you feel as stupid as them for not spotting the obvious.