I think today with things like CoPilot that speeds up development significantly the era of python and untyped languages is past its peak.
My approach is that it is still unclear to me what exactly will be possible in the future, while I know exactly how to deliver these compilers today. I suspect a traditional compiler will be more robust and also a lot faster than an LLM for tasks like translation to another language or compilation to binary. And speed of compilation is very important for development from the user perspective.
Conclusion: I don't know what the future will bring, but I suspect these compilers will still be very useful.