Tech-linked layoffs jolt hundreds of Bay Area workers, including Tesla employees