How smart buildings are shaping resilient infrastructure for the future