It's time consuming to start a class from scratch and professors prefer to reuse their material when they can, rather than learning/teaching something new. There may also be some inertia that makes it hard to change the core languages that are taught.
As for OCaml, there's a lot of academic research around functional languages, and professors doing research in PL are happy to teach OCaml/Haskell.
Not so much banks, but investment shops like hedge funds use OCaml e.g.
Jane Street Capital - https://www.janestreet.com/technology/
Oxford Knight - https://oxfordknight.co.uk/jobs/ocaml-hedge-fund/
whereas others don't (e.g. Goldman Sachs relies a lot on Slang, a homegrown thing).
safe rust is organized just like safe C++.
"Safe C++" you can segfault or mem leak in a single line. Good luck reading through a few dozen k lines of code of a 3rd party library to check if they adhere to every single convention of "safe C++".
You have articulated one of the biggest motivations I have for avoiding C++ in scientific computing. An R library that uses C++ to speed up a clustering algorithm that seemingly arbitrarily segfaults on my input is not the thing I should be having to debug.
I wonder how many C++ code bases never use v[x] on containers where it is undefined behaviour to go out of bounds? I've not seen one myself.
That's the death knell. C++ will COBOL, not because it sucks (which I do think it kind of does due to feature overload and too much long history of different feature generations), but because it isn't even worth the money to learn.