Sweden gears up for an uncertain future as it invests in infrastructure and energy grid