Would a USB-C port that cannot connect to anything but Apple's approved hardware even comply with the legislation? I thought the whole point was interoperability, particularly in term of chargers. If Apple sticks a port that looks like a USB-C port but that doesn't behave like a USB-C port, surely it won't be treated as a USB-C port?
I don't think anyone is talking about that. Currently you can use any USB-C or USB-A charging brick to charge your phone. And even non-certified Lightning cables charge the phone.
Considering that charging is the most dangerous thing a cable can do, Apple's motives for this sort of restrictions can be boiled down to the usual monopolistic approach.
"As a proof of concept, the three researchers created a malicious version of an iOS Facebook app that also includes a Trojan that runs in the background, capable of taking screenshots, simulating button touches, and sending data to a remote server."
That was done by exploiting developer mode, and was fixed by asking the user before any data transmission is enabled. The only thing that is allowed "blindly", and hence the most dangerous, is charging. No need for any racketeeri-- sorry, Apple-controlled whitelist.
How is it fixed when a significant percentage of the customer base will end up clicking yes, some due to ignorance, some by pure error? This isn't how security works.
Considering that charging is the most dangerous thing a cable can do
You must not have been around for the era when data exfiltration via charging cables and bricks was a thing.
Buy a charging cable from some random Chinese reseller on Amazon, and bingo — data in your phones goes back to the PRC.
I still have about five little black USB security dongles in my drawer from this era. They only allowed the charging pins to connect to the phone or computer. The data lines are physically disconnected. We used to call them "charging condoms."
MFi is not about the cable. It's about authenticating the accessory. I see it as some kind of DRM, because you can't reverse-engineer the protocol and connect your own accessory.