Intel’s stock jumped more than 20% Thursday after it announced a $5 billion investment from Nvidia, along with plans to cooperate on new technology for data centers and PCs.