Ctrl-W originates (on Un*x) from the ‘new’ BSD tty driver in the late '70s. Ctrl-U vs Ctrl-X was one of those BSD-vs-AT&T things (where V7 defaulted to ‘@’ 'cause your terminal might not have those fancy control characters). `vi` respected the current tty settings.
Do an "stty -a" in the terminal - you will see these two keys are handled by the kernel itself and will also work with programs reading dumbly from stdin, like "cat".
Ctrl-w and ctrl-u in a default emacs do not even do the same things as in readline.
C-w is (usually) kill-region (similar to what most editors call "cut").
C-u is universal-argument, that is used as a prefix for other commands to add arguments.