Until recently, American companies dominated this critical area of communications infrastructure — all 900,000 miles of them, snaking across ocean floors, serving as the internet’s circulatory system, transporting the world’s data, communications, financial transactions, and even military and diplomatic traffic. China has now entered the business, with a $500 million program to link communications between Asia, the Middle East and Europe.