Apple shares briefly rallied to an intraday record on Tuesday, continuing a year-end surge that’s cementing its lead over Amazon…