Plaintiffs firms get $345 million for causing a decline in Tesla stock.