Apple’s shares climbed on the first day of trading for 2022, forging a new record and a first in US corporate history.