Years ago - not sure if this still happens - there was a process called "Private Investment for Public Equity" (PIPE). An investor could loan a company money in return for below market priced shares. As a hedge, the investor could then short a huge amount of shares, drive the price down and literally take over the company. This is a brief oversimplified version.
We used to track this stuff and react accordingly. Everyone called it "taking the pipe" and it was usually a hail mary near the end.
And yeah...perfectly legal and happened quite frequently.
EDIT: Here's a more detailed explanation from the interweb.
https://www.investopedia.com/terms/p/pipe.asp#:~:text=Private investment in public equity (PIPE) is the buying of,and other large, accredited investors.