The MS case was different, but some elements are similar (use of private APIs; ability to choose default apps which is still not complete in iOS), and some are things MS never dreamt they could do.
The use of “private APIs” is a red herring. Every software developer for the last forty years knows about the concept of a public interface that they promise not to change and private implementation details. Some languages force it and others do it by convention.
My other point is that some Apple app store apps can use APIs that every other app would get banned for. People complained about that when it came MS; It's not better when Apple does it.
https://www.allaboutcircuits.com/news/how-compaqs-clone-comp...
No one could argue that IBM is any more than a bit player in PCs in 1983.
iMessage is not an “Apple Store app” any more than the phone app. Text messages and phone calls are kind of vital to be called a phone.
Microsoft was also cited for forcing OEMs to pay for a license for Windows for each PC sold whether or not the PC shipped with Windows.