Before long, Safeway too signed a deal with Theranos. Under the agreement, it loaned the startup $30 million and pledged to undertake a massive renovation of its stores to make room for sleek new clinics where customers would have their blood tested on the Theranos devices.