AC Milan, Villarreal and Nice reached the knockout stage of the Europa League after posting wins on Thursday in the penultimate round of the group stage.