Burned AMS1117 on Arduino Mega R3

Did you check for power at the 16u2? How did this happen? Maybe it burned some traces that supply power to the 16u2. 5V or ground.