"If taxes go up on a corporation, then prices to the consumer will increase."

Or profits will simply tick down a small notch.  That's up to the corporation.  Ideally in a free market they will be constrained from raising prices too much due to competition, and if it's competition from a bunch of smaller companies making less than $25m vs the large corporate behemoths that have come to dominate the market landscape, all the better.