I don’t think Apple would hesitate to call Musk’s bluff on this. As popular as it still may be, Twitter (and Musk) are brand poison.
Apple has very visibly stopped promoting Twitter in the App Store; their “Essential Social Apps” story contains two Mastodon apps and zero Twitter apps.
Twitter needs Apple way, way more than Apple needs Twitter.