Swedish climate activist Greta Thunberg was among six people who were detained in Denmark, police said, after a demonstration against the University of Copenhagen for co-operating with Israeli universities where demonstrators shouted pro-Palestinian slogans.