Japan is introducing a draft law that mandates inspections for AI firms with inadequate safety measures, including foreign developers like OpenAI and Anthropic, in response to rising cyberattacks.