A federal judge cut to $15 million a $137 million in damages awarded by a jury in a racial discrimination case against Tesla.