Machine-learning models like Alphabet’s Gemini have largely been trained on troves of borrowed words, tunes and photos.