Elon Musk’s company says it has imposed restrictions on ‘editing of images of real people in revealing clothing such as bikinis’