California authorities have declared self-driving cars an 'imminent hazard to public safety' after traffic incidents.