Buying semiconductor stocks for a decade requires a different question from predicting the next earnings beat: which businesses can keep collecting cash while the technology, customers and factories change? Demand for AI computing is creating opportunities for chip designers, memory suppliers and manufacturing-equipment companies. Those opportunities come with different obligations. A designer must defend its architecture and software ecosystem; a manufacturer must earn a return on expensive...