China has quietly extended its military reach far across the Pacific by building dozens of ports, airports, and communications projects at key points in a vast region that could shut out the United States and its allies in the event of war, a new report says.