That's... not true. You mention Kotlin, that was developed by JetBrains as a better language to develop Intellij and plugins.
Hack/HHVM was developed by Facebook to modernize PHP.
There are plenty of cases where organizations successfully developed their own languages/compilers that gave them advantages. It's insane only if you have no good reason to do it. This sounds like they have a need: compile times are slow.
In 2003 PHP was the most sensible choice for rapid prototyping of a web app and for early facebook it was more important to iterate and experiment than build it right. Even today it still holds its own, but there are plenty of alternatives (rails, node.js, ...)
Hack/HHVM was developed by Facebook to modernize PHP.
There are plenty of cases where organizations successfully developed their own languages/compilers that gave them advantages. It's insane only if you have no good reason to do it. This sounds like they have a need: compile times are slow.