Not sure about others, but if I notice it's an AI answer, I'll likely stop reading, as such an answer has no added value to me - as others have pointed out, I can simply get that answer myself, and I likely have before venturing to SO.
And if I don't read through an answer, I'll also not upvote it.
So the highly upvoted ai answer on SO would not be a hallucination.