If you think Microsoft makes it sales because its buyers are putting the right product in the right place, then you haven't seen a lot of Microsoft sales. This is absolutely not how it works. And it doesn't have a lot to do with corruption either.
The people making the decision to buy an IT product are often not its users, and often not that much concerned with making the best short/mid/long term deal in the interest of the business. They are very much concerned in making the best deal for their own careers, and as these are the people who buy the thing some companies have competently specialized in optimizing sales given that fact. Oracle has a reputation for this, and Microsoft as well, but all big tech does it (just some do it better than others). Of course, there's some nuance, you can't get away with it if your product doesn't work.