Images of a light fixture swallowed by flames, smashed windows, battered ATMs and black-masked demonstrators throwing firecrackers at police officers were broadcast on TV screens across the US earlier this month when protests erupted at the University of California, Berkeley.