Talk given in the conference “Unifying Themes in Geometry”, Como, September 2021