It’s not in Apple’s interest to do that. It would cost a lot of money to develop and only benefit the competition. It would also slow down Apple’s own ability to innovate on the APIs until the competitors catch up.
Or are you saying Apple should develop the APIs for Windows and Linux as well? Why would they do that?