Big enterprises (corporations and government) have been betting on Java/.NET often without considering performance; they do it because the skills are widespread and the talent is cheap to hire (not necessary low salary, but easy to fill positions.)
That's also why JS/Python is becoming attractive to them now.