ChatGPT/Claude/Perplexity are partially replacing search engines now - and this is the reality. However, like with search engines and their output, I think the most important skill is do not trust them blindly.
And programming... Well, I think it is a fun way to make your brain exercise, seems like a good reason to teach it to kids. Also, it helps understand how most of things are working internally nowadays.