These countries make the chips powering the AI era, but the two import most of their energy from a region now in crisis.