For GM, the deal makes the automaker a long-term fixture in the revival of Detroit’s downtown, which billionaire Dan Gilbert has been spearheading by acquiring and developing 45 major office, retail and hospitality properties.