The Pentagon is rushing to expand its capacity to wage war in space, convinced that rapid advances by China and Russia in space-based operations pose a growing threat to U.S. troops and other military assets on the ground and U.S. satellites in orbit.