if needed the option is also open to hit US bases in the middle east, heavens forbid it escalates to that point. while those US assets do not directly threaten China, hitting them could cause US dominance in the region to unravel, creating vacuums for its foes to exploit, especially those who has beef with israel. the flight path from western China goes through Afghanistan and Iran, neither of which would have any interest nor ability to intercept the missiles mid-course. to make such strategy work China will need thousands of DF-26s.
If there is a US-China war, I think we will almost certainly see Chinese weapons flowing to Iran and beyond, as there is nothing left to lose.
In such a scenario, China doesn't need to supply many DF-26.
Shorter ranged missiles and rockets can be provided instead, which are far cheaper and easier to produce. And such weapons wouldn't really be that useful in a US-China war which would be air-sea.
But I expect the Chinese to stipulate the weapons can only be used on military targets.
That retains the moral high ground against Israel's genocide and ethnic cleansing of the Palestinians, which has been going on for decades.
Remember that in this story, it is Israel and the US who are the bad guys.
I also expect the Middle East nations to sit this one out, as they wouldn't want to get caught up in a US-China war.