The vice-chancellor of the University of Sydney has apologised for the “unacceptable” anti-Semitism which followed a eight-week protest.