In addition to the observation that you can use the -R flag to chown, the reason why you are getting the error message is almost certainly[1] due to you having no files which need to be changed. The gnu version of xargs has an extra flag -r to tell xargs not to run the command if there is no input to the command.
However using xargs is the wrong approach, a POSIX version of find will batch up commands for you. Use
find . \( ! -user root -o ! -group users \) -exec chown -vc root:users {} +
note the final + rather than the often seen \; in examples of using -exec. With \; the command is run once per matching file, but with + files are grouped and run in batches.
There are some cases where xargs should still be used, for example if you wanted to read from the input and process the lines in pairs, but these are rare. Almost always you want to either run a command per file or else batch up as many files as possible and run one command per batch.
[1] Depending on the xargs implementation, you might have exactly filled a number of command buffers with files, but much more probable is no files at all.
chown -R root:users /somedirshould handle this just fine.