The anonymous text messages invoking slavery were sent to Black adults and children in several states, prompting inquiries by the FBI and other law enforcement departments.