You opt-in to "Hey Siri" on first boot. I can't speak for Google Now.
What's not opt-in, or even able to be disabled through any supported method, is web search through the taskbar/start menu search box. This means that search box keystrokes will be sent to Microsoft servers, though there are (opt-out) options for disabling or clearing storage of search history.