Powerful models are moving off the cloud and onto the phone in your pocket — and it is quietly redefining what a personal device can do.