This might irk many but going forward, I see only following languages surviving:
1. Typescript + Javascript
2. Rust.
3. Python - because of data science and interactive apps.
Basically, everything that can be rewritten in Rust with or without AI will be rewritten in Rust with or without AI in coming decade.
Famous cases:
1. Some backends at 37 signals from Ruby to Rust.
2. Bun from Zig to Rust.
3. Git in transition.
4. Mold linker from C to Rust.
5. Biome
6. TailwindCSS CLI
And much much more. Even Python interpreter is in process of using Rust as the main language if I am not wrong.
[0]. https://github.com/kevincouton/awesome-rust-migrations#1
It would be great to have less languages and ecosystems rather than more. However, I think that none of these programming systems have hit a peak yet. There's a lot of innovation still to be done, and in that sense, id rather see more divergence and less consolidation.
Since you've mentioned AI why not go directly to machine code, i.e. assembly or even binary?
C will continue to be running on embedded processors until the end of time.