The legislation has exposed a deep divide across the tech industry and the political establishment, upending the usual coalitions.