Apple quietens Wall Street's fears of China struggles and slow AI progress