Emergence of ferroelectricity in antiferroelectric nanostructures