We're entering the AI era (or less charitably, bubble) where AI/ML skills are in demand. There are plenty of jobs available for people with 5 years experience in AI (there aren't many people with that kind of AI experience). If you're laid off and have no AI experience then it seems not so easy to find work - not impossible, but it takes some time.