Exactly, you can't have your cake and eat it too. If you want to see yourself as a platform, you must hold yourself to higher standards as a platform. Hence, the DOJ ruling that restricting access to the platform is anti-competitive.
This is also why Google is under pressure as well. This isn't just a "go to Android" situation, this is a "the entire mobile market is entirely anti-competitive due to Apple and Google being in bed with each other" one.