Perhaps from Latin nichil, later form of nihil (“nothing”), a nickname given to foundlings.
Nichil m or f by sense