Five people die after a factory is set ablaze by looters amid days of violent protests.