Stanford University is facing criticism after using artificial intelligence to alter a photo of three students in an advertisement.