Is this still true in hyperbolic geometry, where the circumference of a circle of radius r is greater than 2.pi.r?
Anyway, pi comes up in various fields of math with no relation to the geometry of space we live in.
Ironically, pi comes from geometry (land measurement), and the land they measured has elliptical geometry.