Earlier quoted context omitted.
Even more hostile scenario (if this is even legal, probably not, though I'm not sure): Apple could borrow a large amount of shares of Masimo and short the company. They have enough cash for that, and the borrow fee might be less than the settlement costs, plus they could profit from the operation.
If you mean shorting Masimo purely to drive down the price, that's market manipulation and is definitely illegal. E.g. https://www.investor.gov/introduction-investing/investing-ba...
https://en.wikipedia.org/wiki/Hindenburg_Research would be out of business if that business model was illegal. You can short all you like; you can't be deceptive/fraudulent about it.