I think it’s weird to say Apple is faster than Xiaomi when both are just using arm chips and using TSMC to build them, and this chip is only any faster because TSMC made a smaller node.
I know Apple do some special hardware software integration magic too.
Apple is not "just using arm chips". They have been designing their own 100% custom cores for more than a decade.