They only lose out in the long term by doing this if you believe they can compete in the long term.
If you're an exec at Hex-rays and you believe that Ghidra will eventually out compete you, then it makes sense to squeeze every penny you can before you're irrelevant.