Apple shares hit record as iPhone X launches