iOS is programmed in such way that it automatically turns on Wi-Fi at 5am. Same thing applies for bluetooth. I have done some research and apparently you cannot turn that option off. You can only turn off Wi-Fi by going to Settings > Wi-Fi and just turn it off manually. It will keep turning on automatically until they update it.