Tech giants duke it out in the courtroom