So for web development, do you use PHP?
Because neither Python, nor Ruby nor even JavaScript itself was designed for web development.
16 bit home computers could do this better 10 years before JS.
The original use-case at birth of a language matters less, as programming languages are living things that evolve and mature, sometimes morphing into very different things than they were at the beginning.
Likewise Rust's current lifespan has almost entirely been dedicated to taking on C/C++ and their use-cases in systems programming and server applications. That's all that really matters here.
Javascript was designed for web development of the 90s. It evolved along with web development.
Ada/SPARK, but it won't get a standing ovation from current generation of devs adopting Rust.
Luckily it gets some headlines exposure via NVidia and Genode OS adoption.
Anyway, it's hard to blame people for looking elsewhere when the best Ada compilers were proprietary for so long.
As for compilers being expensive, while true, I learned Ada via books a couple of years before being able to put my hands on a compiler.
Then again, maybe that is no longer fashionable way of learning.