I have pondered whether our career/hobby will eventually be like equestrian activities. Horses or walking were basically the only options for land traversal for thousands of years. Now, horseback riding is nothing more than a hobby or sport. I grew up on a horse farm and rode a lot in my youth. I can't say the skill has ever truly been useful, but it was fun for a time.
No matter how good AI gets, I believe I will always program by hand to some degree. I really enjoy the activity, and most of all, I have enjoyed the learning and composition aspect. Programming by hand might not be useful, but like most hobbies, that does not really matter at the end of the day.