Ergodic boundary/point control of stochastic semilinear systems