Apple CEO Tim Cook said Apple Intelligence helped drive record iPhone upgrades over the holiday quarter.