I think now it is time Japan considers to produce nuclear weapons before it is too late.
What would defend Japan if the US unexpectedly pulls out Asia Pacific?
It means if the US undertakes to defend Japan against any nuclear attack into Japan, then your assumption (China nuked Tokyo) will never happen.
But Japan is a signatory of the NPT. They can't get nuclear weapons basically.