Limp AA is a totally fine strategy, but AA is dangerous because players have trouble knowing when to fold. The player just made some betting/raising mistakes.
There was a danger of a straight right on the flop. He should have overbet the pot BIG TIME to scare away the straight draws. Take the easy money and run.
Checking the flop was a HUGE mistake. If you have the nuts, sure, check so your opponent can improve their hand but still lose to you. You should NEVER give a free card to a straight or flush draw if it means your hand is toast.
Of course, it's easy to say that now - hindsight always being 20/20.