Tech companies duke it out at Senate hearing