Building resilience through platforms and ecosystems