Beijing is not just trying to master artificial intelligence—it is succeeding. AI will have as transformative an impact on commerce and national security over the next two decades as semiconductors, computers and the web have had over the past quarter century.