Tesla will go to trial over a wrongful death lawsuit brought by the family of Apple engineer Walter Huang.