A lawsuit brought by the State of California against six vehicle manufacturers has been dismissed by San Francisco-based federal judge.