You only tax profits, which is revenue minus costs. So if costs were really going up and outpacing revenue growth, you'd see tax collection going down, not up.
Clearly, the opposite is happening, and profits are outpacing costs. Also, clawing money back out of the economy through taxes is...