Several leading artificial intelligence companies pledged Thursday to remove nude images from the data sources they use to train their…