Apple switched the iPhone to USB-C years before it became an EU requirement. I doubt the EU played a role in it. The 2015 MacBook was USB-C only.
Due to the length of the European legislative process, apple knew it was coming years before it eventually landed.
> iPhone 15 released September 22, 2023
> EU’s Common Charger Directive went into effect on December 28, 2024
Years?