Bochner's theorem and mean‐field electrodynamics