California, Colorado, Kentucky and New Jersey were among 29 US states that sued the tech giant in 2023.