Tesla lays off 7% of its employees as it faces the grim reality of mass-producing cars