Netflix plans to lay off 1,000 staff, or about 6% of its global workforce, in its steepest cuts since 2022.