Elon Musk's severe partisan and culture war turns may have cost his Tesla company more than 1 million car sales, a Yale study says.