How do Voice assistants understand us?

Early into the millennium, science fiction movies used to show us a very cool scenario where a person comes home and starts talking to their computer, and everything would get sorted out on its own. Modern technological advances have rendered this fascinating scenario very realistic, and hence, made that science fiction movie scenes way less cool.