That's not a fair comparison. The thief in the OP was not in somebodys home, he was breaking into trailers. The police should have been called after he was subdued, instead he was beaten to death.
Mob rule is just wrong no matter how it is sugar coated.