This is Apple wanting to sell things in California, combined with Apple not wanting to manufacture two separate versions of their devices for the US market.
This is also why everyone gets USB-C iPhones now, instead of only the EU.
In this case, they managed to delay the bill long enough that they now have a bunch of programs in place to actually profit from third-party repairs of their devices. This gives them an advantage over their competitors, so they are now in support of this bill.
This isn’t Apple being nice.
This is Apple wanting to sell things in California, combined with Apple not wanting to manufacture two separate versions of their devices for the US market.
This is also why everyone gets USB-C iPhones now, instead of only the EU.
Nothing new or exclusive for Apple: https://en.m.wikipedia.org/wiki/California_effect
Same with the Brussels Effect
In this case, they managed to delay the bill long enough that they now have a bunch of programs in place to actually profit from third-party repairs of their devices. This gives them an advantage over their competitors, so they are now in support of this bill.