Did they happen to tell you the cost of the replacement if you had to pay? I get a lot of warranty work on my Cadillacs and I always ask. They just replaced the transfer case in my CT6 under warranty, which was $3800. That's why I'd never own one out of warranty.
I've read the battery for the Hummer is currently $36,000