They are wrong. IP belongs to the student or the institution. If a student discovers something in the course of research, the patent belongs to them. If an employee does the same, the patent generally goes to the employer, regardless of where they work (private sector, too).