Spain's car industry lost 30,000 jobs and saw 10% of small and midsize dealers go bankrupt as sales plunged 18% in one of the worst years for the industry in decades.