Artificial intelligence is moving from data centers to "the edge" as computer makers build the technology into laptops, robots, cars and more devices closer to home.