Smartphone makers are packing their latest devices with flashy new artificial intelligence tools to reignite consumer demand