Are your TV, smartphone, and smart speakers eavesdropping on you?

Advertising firms boast that they can listen in on conversations through smart TVs and smartphones. Is this true, and, if so — how can you avoid being snooped on?