Ergodicity of invariant capacities