William Shockley’s co-invention of the transistor helped launch the electronics era and Silicon Valley. Though technically brilliant, his poor leadership and endorsement of eugenics in later years tarnished his legacy.