Japanese cities are entering the renewable-energy business, the latest phase in a shake-up of the nation’s power sector in the aftermath of the 2011 Fukushima nuclear crisis.