The other engine provides enough thrust to keep the plane airborne. The pilots (and likely other onboard systems) compensate for the asymmetric thrust with the rudder.
As scary as it looks, this is one type of event that pilots routinely train for, both to get their initial multi-engine certification, and on their airlines’ simulators.