It's my understanding that the 2018 processor didn't have all 8 cores working. So they sold it as a 7-core chip.
It's a process called "binning"
So it's not that they artificially deactivated that 8th core... it's that it wasn't there at all.
It's a yield issue.
Imagine a bunch of bins full of oranges. Most of the oranges are fine; some aren't. Apple's contract with TSMC was: "set your quality control such that 7 out of 8 oranges are fine; throw those that aren't away". Then take the 7 remaining chips and put them on a package.
At this point, TSMC's process for 7nm has improved such that making 8 out of 8 oranges correctly isn't as costly as it was two years ago. So their bins no longer contain about one in eight spoiled oranges, but far fewer than that. The few they still have to throw away are at TSMC's cost, as they now have to put all eight chips on a package.