This is pretty standard in employment agreements. I don't know of a company in the Valley without a 1yr no-poaching clause.
Apple specifically was one of the parties to the anti-poaching arrangements.
In 2019, CA courts ruled that this also applied even while the soliciting employee is still employed at their old job.
Of course, a competitor can and will sue if they feel like it financially benefits them to do so, such as by interfering in your company's business procedures or discouraging other employees from leaving. This doesn't mean that what they're doing is lawful or that they won't face legal penalties for their actions.
https://news.bloomberglaw.com/daily-labor-report/google-ends...