Apple plans to settle a lawsuit that accused tech startup Rivos of stealing its trade secrets related to computer-chip technology,…