Been putting this off for months but the box holding our water heater and AC unit finally got bad enought that the tank was visibly tilting, so I spent last weekend dealing with it. The whole thing was built from regular drywall and scrap lumber sitting right on the slab, and years of little drain line overflows had turned the middle into mush. I could push a screwdriver straight into it with basicly no effort. Ended up hiring a handyman for the demo and rebuild since I didn't want to mess with anything structural, and had the plumber come the same day to disconnect and reset the tank while the platform was open. Turned out the gas flex line had been carrying some of the weight, which explained the kink I kept noticing.
The rebuild is just a simple framed platform on the slab with cement board instead of drywall, and the drain pan now pipes into an actual drain instead of dribbling onto wood. Also had them re-anchor the tank properly while everything was accessible.
Total cost was way less than I feared and took one long day. If your setup looks anything like mine did, don't wait as long as I did, wet drywall just keeps quietly getting worse underneath.