It's funny to watch folks here rediscover nationalization. Unfortunately, regardless of the justice of that action, Nationalization is the fastest way around to not just cause capital flight, but (if you're a small country) those wealthy individuals who lose will also hire thugs/counter-revolutionaries to destroy those who tried to expraproiate them.
You literally cannot win. Either enjoy the corporate dread or enjoy a bullet to the head