Same exact thing happened to me once. Fortunately only once so far. It was scary and dangerous as you mentioned.I've just had AEB activate on the way to work this morning. Driving at approx 35 mph on a straight section of road, a pedestrian getting into his van at the side of the road activates AEB, the alarm sounds in the cabin and ABS comes on full (the road is dry the tyres warm). The car almost comes to a complete standstill in an instant whilst the van driver is looking at me like I've lost my mind or something. My neck is aching and I expect it will be stiff tomorrow morning. There was absolutely no need for any sudden braking, had there been traffc behind it would have been a heavy shunt with potential for whiplash injury. I'm shocked.
Since then I've read a lot about it and learned it is important to point out that these false AEB events are different than what people typically mean when they say "phantom braking".
Regular phantom braking refers to the common annoying unnecessary decelerations that happen frequently, often daily. AEB slams on the brakes to the point of wheel lock and really wrecks your day. I hope I never experience another one.