Smartphone makers are moving artificial intelligence onto the device while regulators push for longer-lasting, easier-to-repair handsets.