At work you have the same IP. Your coworker may have googled what he was taking about. This is a much easier explaination than a constant mic monitoring for arbitrary phrases
watch words are simple to listen for, generalised transcription is far harder.
Now, it's only logical that you may share certain interests, so why not show ads for things they bought/googled for to their contacts?