The Iran war and the AI boom have created a crowded market for mineral rights and other energy assets.