GM to end Hummer after sale to Chinese buyer fails