A major semiconductor company reached a market capitalization of $5.6 trillion after its stock rose nearly 20% over the past month, driven by investor enthusiasm for artificial intelligence applications.