Google has joined OpenAI in asking President Donald Trump to ease rules on using copyrighted material to train AI models.