Arguably that's not the case. If a company invests their excess cash then that money is spent and is no longer profit and no longer taxed. So, by increasing the tax rate you are encouraging a company to accumulate less profit, they can achieve that in any number of ways.
A company may invest into their business to increase profits later (e.g. Amazon's growth model), they may forego company profit by increasing dividends. Or, I could see a CEO try to bump up their decreased profit by reducing expenses elsewhere and cutting jobs or something equivalent. This is the area that economists focus on, but it strikes me as naive to think all businesses will choose this option whenever a corporate tax increase occurs.