Wifi and Bluetooth under iOS 11 will both automatically turn on at 5AM.
The only way you want to completely disable Wi-Fi and Bluetooth for all networks and devices, follow these steps:
To turn off Wi-Fi, go to Settings > Wi-Fi and turn off Wi-Fi.
To turn off Bluetooth, go to Settings > Bluetooth and turn off Bluetooth