Shares of technology companies tumbled as traders fled the sector due to doubts about the sustainability of the artificial-intelligence boom.

Investors are selling off AI-related stocks as doubts are starting to surface over whether the massive spending on AI is worth the investment or whether "it's one big bubble."

Wall Streets AI-driven technology rally faced pressure as investors questioned whether rising infrastructure spending can generate sufficient returns. While hyperscalers such as…