If you don't want to write, hire someone to write, pay someone to provide an implementation that has already been written, or acquire an implementation already written that is available without payment, such an API, you can simply choose not to do what is defined as being an “operating system provider”, and no obligation attaches,
No one is putting a gun to your head and forcing you to do labor to write code for an API.
I don't know what's wrong with you, honestly, that you would so vivaciously defend this impractical, immoral and completely nonsensical law so vivaciously.
It is seriously disturbing.
On the object level: giving medical advice is a form of (literal) speech. If you want to practice medicine and give medical advice as part of that practice, there are tons of constraints on what you can say to patients. The argument you’re laying out here is clearly too general.
I do, these people are entryists and they have evil goals in mind.
Do not hire people like this, and block them from working on your projects.
I don’t know what’s wrong with you that you are reacting to arguments that exist only in your own mind. I'm not defending the law. (Nor—while I am very much opposed to the law—have I been opposing it here. I haven’t made a normative argument in either direction.)
Also, I don't think “vivaciously” means what you think it means.