I bet the Samsung SoC's were a lot cheaper though as less sophisticated. Samsung -> TSMC got them away from a competitor, possibly cheaper (US -> Taiwan) and onto better roadmap.
This is quite different and possibly a further sign of Apple spending to diversify supply chains.
It was probably a bit cheaper, but Apple was Samsung's anchor customer since mid 2000's. I don't think Apple used Samsung's 10nm or 7nm -- ie, there was no "dual sourcing" or "diversifying" supply chains to speak of. I think Apple's move to TSMC was largley driven by Apple's China/Taiwan first outsourcing practices.
This is quite different and possibly a further sign of Apple spending to diversify supply chains.