Or at least that's how the law works in a lot of countries.
Assuming the perpetrator is unknown.
Who pays out for the damages ultimately?
Then the same thing. The police and the prosecution find out if this was illegal, if the possession is illegal, who possesed if and who brought it and why, then who is responsible and a court decides if someone is guilty. The court will decide if the company is responsible E.g. because of negligence, they might not have implemented the law, educated their employees etc. In the case of dynamite that an employee brought, the company is not responsible, there might be terrorism charges against the employee.
The company is always ultimately responsible for whatever is discovered on their premises by default.
Well yes
It wasn't the employees home raided but the BBC office.