Documents filed by Tesla with the state of California show nearly 3,000 workers in Fremont and Palo Alto will be among the mass layoffs announced by the electric automaker earlier this month.