It's weird how many people misunderstands the intent behind anti-trust laws. In a nutshell, it's about abusing a dominant position in one market (which is ok) to enter and conquer another market by undercutting competition by providing your product in the new market with the existing dominant product at basically no cost to consumer (there are a lot more nuances).
Having non-interoperable features (like charging ports or iMessage green bubbles) has nothing to do with it, and those are ok (at least for anti-trust laws).