From solar to nuclear and coal, stocks have soared on AI demand.