Andrew Marshall, a Pentagon strategist who helped shape U.S. military thinking on the Soviet Union, China and other global competitors for more than four decades, died Tuesday in Alexandria, Virginia.