Electron microscopy inspires flexoelectric theory behind ‘material on the brink’