Utilities stocks have previously been popular among investors looking for a safe haven, but those times may be gone.