I'm following this topic for a few weeks now because I'm having the same problems with my new iMac 27" (2017).
The iMac shipped with Sierra, I couldn't restore from TimeMachine because the OS was newer so I upgraded the new iMac to High Sierra 10.13.1 and restored my files back. All went fine until a few days later after two times the iMac was put in sleep mode, the WiFi signal drops out, it gets disabled and gets enabled by the OS but without any errors. During that moment the iMac gets really slow like it's going to crash. After two times waking from sleep, the iMac gets unusable because of lowliness upon enabling wifi. Quick solution was just let the iMac shut down instead of sleep, but a few days later I noticed that it began to happen even when using the Mac where the wifi just disables itself (not just losing the wifi network signal). It began to get frustrating. After updating to 10.13.2 it got even worse, it got to a point that I just couldn't enable wifi anymore. It was just disabled, trying to enable it in network preferences did nothing. Thank god that I have a long lan cable in my house to have some internet connection... So I searched the inter webs and found this article and some troubleshooting guides including removing the wifi settings from /library/preferences/systemconfiguration, reset SMC, reset PRAM, ... nothing worked. Even ran hardware diagnostics (no issues), used another profile, reinstalling Mac OS High Sierra, ... . Even that didn't solve it. The WiFi gets even disabled and re-enabled when you boot in rescue disk and try to reinstall macOS over the internet causing the download to halt and new reboot is required.
As the iMac is in warranty I contacted AppleCare (Belgium) where they helped out the best they could like all the stuff I already did to get it solved. They advised me to get my Mac back to the store to take a look at it but I'm afraid when reading all these reports that the issue wouldn't be solved at all.
Miraculously when I was in contact with AppleCare my wifi got re-enabled again, but still I have to shut down my Mac instead of sleep to keep it working. One sleep and I can remove the files at /library/preferences/systemconfiguration and reboot to get it up and running again. This ain't a good solution unfortunately.
I sincerely hope a fix is out soon because it is a bit frustrating.
PS.: my router is new, and on my old Mac there where no issues running Mac OS High Sierra 10.13.1,
Edit: SSID not hidden, connected to 2.4Ghz network since 5Ghz is unusable