The Elon Musk-owned company announced Wednesday it would restrict AI chatbot from 'nudifying' images of real people in certain jurisdictions.