Google has a vision for a world full of cheap and tiny smart devices—and it hopes its software will power them all.