A farm in Nottinghamshire has been fined following the death of a young worker, when he became trapped between two vehicles.