TEL AVIV—Israeli Prime Minister Benjamin Netanyahu is clashing with the country’s powerful technology industry over a plan to overhaul the judiciary that companies fear will lead to a rollback of civil rights and an unchecked rightward political turn that will scare away investment and talent.