Not just "a lot." Over 90% of contributions come from developers who are hired by companies to contribute to the Linux kernel: https://thenewstack.io/contributes-linux-kernel. Intel and Redhat each contribute more than all the individual contributors put together.
Besides,IBM/RH are by not even the largest contributors. Intel does more than both of them combined, and then you have other heavyweights like Google who have an interest (notably through Android) in keeping the project going. Even if IBM were to pull out for some reason, there are more than enough others who could pick up the slack.