This represents a shift from the tech sector’s reputation as a bastion of support for the Democratic Party.