The US tech giant unveiled an AI overhaul for the iPhone after a stumble on its first attempt, saying it was taking time to get it right.