A producer of concrete blocks has been fined £300,000 after an employee had to have a leg amputated.