"Nobody ever got fired for buying IBM", or so the industry said for decades.
But IBM wasn't (always) the best, they were just safe bets. Until the world started changing and they weren't.
.Net and Java have always been good enough. Even today they're good enough for many, many problems.
I probably would not reach for .Net and Java if performance literally mattered.