I disagree I think Apple has a responsibility to not break the biggest software used on their platform. They might not like it but I'm sure they'd dislike that software never being there at all even more.
If one dude is using a private API, that's him being reckless. If thousands of applications are using a private API, that's poor API design.
The thousands of "apps" wouldn't all be using this private api if they weren't electron junk