DETROIT—The automotive industry ranked third in the United States in patent filings in 2012. Only the telecommunications and computer industries generated more patents last year. MORE