This is the payoff of nearly over a decade of R&D being poured into their chip development.
Apple is a vertical integration company and the CPU/GPU in their devices was a clear sore spot of relying on external vendors they did not like.
You can see their lead continuing and growing with things like their new modem used in some iPhones