The asset managing unit of Deutsche Bank has snagged a stake in one of downtown San Francisco's largest office towers as part of a deal that values the building for about $1.2 billion, a rare figure even in one of the nation's most expensive office markets.