The equation here is more like “I can increase margins 3% this quarter to get my bonus, but increase the risk of an incident that may harm or result in the death of an employee or disaster affecting the public by 15%”
The long game is that the railroad will lose money when they create a 9-figure incident. The short game is the management makes their money.