Yes Red Hat is significant in its niche of enterprise server operating systems, but it's not in the same league as Microsoft as a company overall. Red Hat would typically be deployed on AWS or Azure where they rake in all the money.
While Microsoft makes $73B profit, IBM makes $2B profit.