One must not use analogy to analyze individual technologies. People were afraid of the camera, yes, but the camera does not attempt to replace painting. AI attempts to replace photography, painting, and all sorts of art with something that looks like the real thing. Photography never tried to do that, as photographs don't look anything like paintings.
When the camera was invented, it did replace what paintings were used for at the time. Photographs don't look like paintings, but up until the camera paintings were trying to look like photographs. It's no coincidence that impressionism arrived at the same time as the camera.
There is a difference between replacing usage and replacing the exact art and the people who make it. Yes, the camera influenced painting, but it did not destroy it. AI attempts to destroy natural human expression.