NBC: Photo giant Getty sued a leading AI imagemaker. Now it’s embracing the technology.