As models shrink and silicon accelerates, the center of gravity in artificial intelligence is moving from the cloud to the pocket.