How technology is shaping resilient economies