Actually, I vaguely remember reading that they didn't retrain the model. They just blocked it from classifying anything as a gorilla. I'm sure they fixed it with better training eventually but it presumably wasn't easy, if those reports were correct. People noticed by uploading photos of gorillas and observing Photos was no longer willing to recognise them.