Energy Transition, Cobalt, Copper, Lithium, Nickel, Rare Earth Elements, Renewable Energy Consumption, Macroeconomics, Regime-Switching Model