I think you played it fine, bad luck. But if you want to reduce your variance, you can also not bomb the flop so hard, bet like $16, that way the pot doesn't get out of control so fast, and you'll then check the turn and see what happens, probably folding if they bet hard after you. It's kinda weak, but you can decide on which route to take depending on how the table plays. If they're all nutcamping I'd be more wary to just stack off for 100BB with AA..