Enterprise will stay on Java for the next 50 years. "Entrenched" is the word for enterprise-dev, game-dev can shift much quicker. C# is prevalent only in Microsoft-heavy companies.
In enterprise you mostly don't care much about performance optimizations, but care a lot about reliability, so in AI-dominated enterprise development most focus will be on formal code verification.