Apple stock hit a record high on Friday after the consumer electronics giant forecast a jolly holiday-sales season.