Pharmaceutical and biotech firms are adapting portfolios for the AI era