U.S. judge greenlights Nio investor class action over factory claims