It’s not a parallel. No one ever claimed photography to be the same as painting or some other medium - it was a new medium that wasn’t respected.
AI is being treated and pushed as a replacement for every medium.