The administration is veering wildly in its response to the national security implications of A.I. as China, America’s main technological and military rival, charges ahead.