Apple approaches $4 trillion valuation as investors bet on AI momentum