A company based in Milton Keynes has been fined for safety failings after a worker suffered serious injuries to his leg.