This reminded me of the geth from mass effect. They get smarter as more geth "agents" network together.

What if there is a worm that spread through thermostats and another that spread through smart fridges and they finally infect a laptop with a gpu. They can exchange notes while they are there. Fun times