buy out from under
Advanced (C1) informal
Buy something that someone else needed or wanted, so they are left with nothing.
"A large developer bought the building out from under the small business owners who had been renting there for decades."