They also have the backing of large companies that you can sue for billions if shit goes wrong..
Those languages are well established, which means there is a huge pool of programmers your can employ.
Another thing which probably plays some role is the fact that both languages are kind of "middle ground": not too low level, but also quite explicit and without much magic.