A tech company with ties to Nvidia and Apple has paid well over $100 million to buy a huge Sunnyvale office and research campus, a deal that offers a hopeful sign for the battered technology sector.