Check out the companies making headlines in midday trading: Oracle — Shares of the software maker surged more than 13% to an all-time high after the database management company announced cloud deals with Google and OpenAI. Oracle said it would bring its database to Google’s cloud in November. It is also partnering with Microsoft and OpenAI to deliver supplemental computing capacity. Investors looked past Oracle’s disappointing fourth-quarter results that fell short of Wall Street expectations. Apple — The iPhone maker climbed nearly 3%, briefly surpassing Microsoft in market value. This comes after Apple jumped 7.3% Tuesday after unveiling its artificial intelligence plans called Apple Intelligence during its developers conference. Rentokil Initial — Terminix parent Rentokil’s shares jumped 13.7% after Nelson Peltz’s Trian Partners amassed a significant position in the pest-control provider. A Trian spokesperson told CNBC on Tuesday that the firm, currently one of Rentokil’s top 10 shareholders, wants to work with leadership on “ideas and initiatives to improve shareholder value.” Klaviyo — The marketing automation stock popped 3.9% on the heels of a Barclays upgrade to overweight from equal weight. Barclays called the stock a “rare bright spot” compared to peers. Broadcom — Shares of the semiconductor company rose more than 2% to a record high ahead of quarterly earnings results due after the bell Wednesday. The stock is up more than 33.5% so far this year. Casey’s General Stores — The convenience store chain surged nearly 17% after earnings and revenue topped analysts’ estimates postmarket Tuesday. Casey’s posted fiscal fourth-quarter earnings per share of $2.34 compared to the $1.72 expected from analysts polled by FactSet. Revenue came in at $3.6 billion, versus a $3.47 billion consensus estimate. Lennar , KB Home — The homebuilders climbed 1.8% and 2.6%, respectively, after UBS reiterated buy ratings on both following a period of underperformance. On top of mixed economic data and volatile mortgage rates, analyst John Lovallo said the group may be hurt in some markets seeing rising existing home inventories. With that in mind, he said housing availability is still at low levels historically. Lennar and KB Home are both set to report earnings results next week. Affirm — Shares of the fintech company spiked about 5.8% following May’s cooler-than-expected CPI reading. The nonbank loan lender is up more than 20% this week following news that its buy now, pay later loans will be embedded into Apple Pay for U.S. users on iPhones and iPads later this year. Taiwan Semiconductor Manufacturing — Shares jumped more than 4% after Bank of America hiked its price objective on Taiwan Semiconductor, saying the investment case for the chipmaker is stronger now that Apple has announced its push into artificial intelligence. Taiwan Semiconductor is an “indispensable and reliable partner” of the iPhone maker, the bank said. — CNBC’s Alex Harring, Yun Li, Pia Singh, Sarah Min and Michelle Fox contributed reporting.