Like a lot of people have said, the only time you're beaten is when the opp puts you on AA and plays the nut boat fast.
Other than that, I would expect to get paid on this flop with AA.
To answer your question about extracting value from AK, they only have 2 outs. It's a pretty safe move to call the re-raise and wait for them to move in on you.