The striking growth of China’s shipbuilding industry — commercial and military — poses national security concerns for the United States, analysts say.