Recent workplace shootings have led many companies to develop or enhance violence prevention programs, helping contribute to a steady decline in on-the-job fatalities.