NBC: U.S. companies’ diversity efforts are legal, Democratic AGs say