The strong earnings growth in the S&P 500 is concentrated in AI-linked companies and sectors benefiting from the Iran war, including energy and defence.