When AI allows you to think less about the how in software, every minute you save is a minute you can spend literally anywhere else. You aren't limited. There is no obligation to remain within the realm of software. You can use your saved time to watch a movie, read a book, or maybe dream of electric sheep. Whatever it is, there are no rules, and you get to choose.
So if you feel a loss of community from the advent of AI, you're completely free to find some other community which fulfills that same need for you. For me personally, AI has allowed me to focus much more on the design side of software, rather than the technical details. That's really meaningful for me, and it makes so that among my fellow design people, I've never had more community.
Anybody can do the same. Or maybe, you can find another outlet that suits you. The point is, you get to choose.
To put this in familiar economics terms, you can't treat your time like a sunk effort. Rather, you have to think of the opportunity cost, and ask yourself "what is the next best thing I could be doing with my time?"