What you said doesn't add up to me, logically.
If you spit on someone's plate and he stops eating, you didn't harm him, because it was his choice to stop eating?
Publishing a proof demotivates other people from working on their proof. It would be false dichotomy to say there is now no motivation to work on the proof, but the motivation did get smaller. How much smaller is hard to assess because it depends so much on human psychology and it's all new to us - if someone publishes an "idiomatic", easily understandable proof, will he be praised similarly as if AI didn't beat him to it, or will people handwave him as simply explaining what AI already figured out? Who knows, maybe he did very little work and just asked chatGPT to explain the existing proof? And even if that won't happen, people working on proofs might assume it will happen and therefore move on to other things.
But uploading a proof isn’t spitting on someone’s plate!