Zynga bought their office building and ended up being one of their best investments. Good timing though, buying in 2012 and selling in 2019.
"Zynga to Make $369 Million on Sale of Headquarters. That's far more than the company has ever made selling mobile games."
https://www.fool.com/investing/2019/05/29/zynga-to-make-369-...