Beyond Riemannian Geometry in Fundamental Physics