A Nottinghamshire pet food company has been sentenced after a worker was seriously injured when a forklift truck he was driving overturned.