A Facebook Inc. consortium withdrew its bid to build a new internet conduit between California and Hong Kong after months of pressure from U.S. national-security officials, the latest sign of a deepening rift between the two governments.