By treating some digital services as public infrastructure, countries from tiny Estonia to giants such as India and Brazil are reimagining what sovereignty and state capacity could look like in a world of bits and bytes.