Wall Street's early gains evaporated as trading progressed, leaving major indices flat after a volatile session defined by a stark divergence within the technology sector.

While Amazon shares surged following a strong earnings report, Apple stock tumbled, marking a significant shift in market leadership.

The tech giant's decline was severe enough to see it dethroned as the world's most valuable company, a title it had held for an extended period.

The market's inability to sustain its opening rally highlights growing caution among investors despite the positive corporate news from e-commerce leader Amazon.

The contrast between the two tech titans underscores a rotation in capital flows, with traders favoring companies demonstrating immediate revenue strength over those facing structural headwinds.

Apple's share price weakness reflects ongoing concerns regarding its product cycle and competitive pressures in the AI space, issues that have weighed on sentiment since its recent price hikes and memory chip shortages were reported.

This development adds to a week of mixed signals for US equities.