It would probably cost a lot more to evict Twitter and find a new commercial tenant than it does to compel them to pay rent.
The reason this wouldn’t apply to you is that residential real estate vacancies are usually easy to fill, especially nowadays.