If AI infrastructure buildouts keep accelerating, two very different companies could ride the wave -- though both come with real risk.