那个 is the chinese equivalent to "uh/um". Just imagine how many times a probably nervous professor would say "uh/um" during a lecture. The professor also is likely not great at english or has a strong accent.
Not sure how anyone could mistake this for a racial slur with hateful intent.