Six years ago, Yahoo’s computer systems and customer email accounts were penetrated by Chinese military hackers. Google hired hundreds of security engineers with six-figure signing bonuses, invested hundreds of millions of dollars in security infrastructure, and adopted a new internal motto, “Never again,” to signal that it would not allow anyone —...