A potential AI slowdown could shift investor focus from capital-intensive chipmakers toward software, cybersecurity and established tech platforms.