Iran's supreme leader warned the US could face "lessons" from Tehran and its armed proxies, which it calls the "Axis of Resistance".