It sounds like what you get out of hobby programming is being useful to others, which AI is taking away to an extent as those others could just roll their own. I understand this, I feel the same way, it is almost like I
want some social obligation, but it doesn't take away the other part of what I do it for: personal interest/challenge. If that is not enough then yes, AI has taken over your hobby. Some of my other hobbies are entirely based on the challenge to myself of experiencing/learning something myself:
• I run (well, I did and will again when my current medical issues are finally sorted out!). There is no way I would ever compete and make anything of it, so it is all for me and occasionally (when not going out solo) a social aspect.
• I like to visit places. Nice bits of countryside, different countries/cities, museums, and other such. I often combine it with the running. None of this is going to affect anyone else at all, except on the few occasions it is a group adventure.
I can still enjoy techie tinkering in the same manner, it just being for me. TBH other hobbies (the running, playing with 3D printing though that does have an aspect of doing things for others, etc.) have left little time for that in recent years, even before AI. I'm a bit of (OK, a lot of…) an AI Luddite, I'm refusing to touch it even though that might be career suicide in the not too distant future, but other people using it isn't going to completely remove my enjoyment of any of my hobbies.