He doesn't have to sell. He can finance the deal with debt backed by his newly risen stock as collateral. Then the debt is used to further inflate the price of the stock.
According to the image of the steps, Oracle’s share price is going up, presumably more than it would have without engaging in these steps. How can that cost index fund owners? They would be benefiting from the share price increase.