At a high level, if profits are revenue minus costs, and cost goes down, and revenue stays the same, then profit goes up. If you fire all your employees and pay a tenth of that to an AI company instead, if we handwave that it's possible (it's not, currently), then there's your huge rise in profit.