Alternatively, if AI is doing most of the work, why not pick a platform that performs? If the cost of the code (and preferences of the developers) are factored out of the equation, pick based on operational cost.
Serving traffic with Ruby and Python is significantly more expensive than serving traffic with Java or Go.