If it is a holding subsidiary of a state-owned enterprise, is there a risk of being laid off?

Yes

If you make a mistake yourself, being laid off is still quite serious. Generally, state-owned enterprises are relatively stable and will not lay off employees unless they make big mistakes. Enterprises go bankrupt because of poor management and employees can't continue to work in them. It's a business problem, not an employee problem. The two properties are still very different.