This Bay Area town was literally named for its industrial roots. Now it needs to adapt, and quickly.