Tesla Avoided the Chip Problems That Hit GM and Other Car Makers. Here’s How.