After a nearly-six year ownership, German investment house Deutsche Bank announced Thursday it was parting ways with the Cosmopolitan of Las Vegas, the stylish — but unprofitable — Strip hotel-casino and the last megaresort to open after the recession tore apart the gaming industry.