This will be controlled, in part, by the agreement you signed with the landlord. I would review that document and if you have any questions, contact local counsel.
Depending on the language of your lease, you might be able to stay the 2 years. As long as you are not in default, a buyer may have to honor the terms of the lease. If they want you out, perhaps you can negotiate a buy-out or cash-for-keys.
Actively practicing law in Texas. Inactive licenses in Arizona and Georgia. All answers are general in nature and no attorney/client relationship exists in this forum.
As the others say, particularly in a commercial lease, the terms of the lease matter. But, if they are the usual terms, you have a term of two years, a covenant of quiet enjoyment, and no unusual termination clause unless you breach. Get a lawyer to read it and advise for an hour's time, then tell them to go away and stop bothering you. When they return, ask them how much they are offering to buy the balance of your lease. It'll cover that attorney fee. For that matter, the legal fee will be much less than the moving expense for an auto body shop. Just moving the painting room will cost much much more than the consult. This review and consult can easily happen in an hour, and I offer a discount for first consults of this nature.
Reading an answer on the Internet does not create an attorney-client relationship. You are represented by me when we have both signed a retainer agreement (on paper or electronically) and some money has changed hands. Usually, you will have been asked specific questions about your situation and all potential conflicts of interest will have been resolved. Until then, you have no more right to rely on this answer than if you read it in a novel.
If your lease agreement is in writing, have a MD attorney review it for clauses that will allow you to stay for the remaining portion of your two-year lease. Many law firms, such as my law office, offer free initial phone consultations.