All of them, for capital expenditures.
If I buy a widget-maker for $100,000 and use it to make a profit of $50k/yr on widget sales (net of staff and materials), then I don't have a $50k loss in my first year and $50k in profits thereafter.
Instead, the cost of the machinery must be amortized (depreciated) over several years, with a five-year period being typical but not universal. In the latter case, even though I had a $100k cash outlay for the machinery, I'd still record a tax-time profit of $30k for the year ($50k operational net revenue less $100k/5 years).
Is software an operational or a capital expense? There are arguments for each approach, and reasonable governments might decide the issue differently.