Safeway bought this San Francisco lot at a discount decades ago. Now it is poised to sell it to a developer with big plans.