A steel coating company has been fined for failing to manage the risks from Legionella bacteria at two cooling towers over a period of five years.