A lawsuit that accuses Google, Apple and other top Silicon Valley companies of driving down wages by agreeing not to hire each others workers can go to trial, a judge ruled on Friday.