Self-driving cars attacked by angry San Francisco residents