The only thing making SO decline is that they have a CEO. And that CEO is trying to "compete".
Just keep being a great platform for Q&A and stop chasing profits. People prefer SO because the ansewrds are trustworthy. LLMs will always bullshit you and never be better than a platform free of AI crap.