Washington led the spending, at $44.2 billion, followed by Beijing, which spent $11.7 billion as it races to build an arsenal of nuclear warheads to rival those of global leaders Russia and the United States.