Taiwan’s surging energy prices are a warning for power-hungry American AI companies—and a boon for the biggest chip manufacturer