Federal immigration agents have been filmed using pepper spray and zip ties against a protester in San Francisco.