A college in Surrey has been fined after a student was struck on the leg by a tree as it was being felled.