Well, I think both examples
Efrem points out would be morally wrong. Both of those actions are deliberate actions to take what doesn't belong to you. It's like the difference between finding a $20 bill on the sidewalk and a pickpocket taking it from someone's wallet.
In both cases, the reward [$$ or miles] came out of somebody's pocket. But the sidewalk money fell out accidentally and you just got lucky. The pickpocket would be committing a crime.
For myself, it's complicated by the fact that one of the extra segments falls into my PLT challenge period, which means I hit PLT faster. More bonus miles on the legit flights. I would have made it anyways, but it makes giving up the miles [and Q-points!] that much harder.
So, at this point I've pretty much decided to call AA and let them know, but only
after my new PLT status is confirmed. I figure they won't take my status away even if some of those Q-points vanish after the fact. I'm trying to be a good person, not a saint.
Who knows, maybe they'll just let me keep the miles.....