Another suggestion I’ve seen would be to not tax corporations directly, but to pass the obligation down to the shareholders: if you own 100 shares of Apple, and Apple made $15 of taxable profit per share, your taxable income goes up by $1,500. (Presumably Apple would pay you a dividend to make up for your tax bite, but note that this kind of scheme would make stock ownership more attractive for people with modest incomes.)
When you reinvest into equipment, the logic goes that the productivity increases and new higher paid jobs are created even though the lower end labor is eliminated or reduced.
Increasing capital gains tax would in effect make everyone accelerate the sale of their company before the taxes are effective, so it was a mass liquidation of capital.
But, I don't believe it would discourage investment because people would simply tax plan around the capital gains tax. A while back, during Reagan and friends presidency, the personal income tax as well as capital gains tax was more than 35%. People actually invested more into corporations because the corporate tax rates were lower (ironically).