In a letter dated August 22, Apple showed its support for California's right-to-repair bill, SB 244, after spending years combatting DIY repair efforts. The bill requires vendors of consumer electronics and appliances to make sufficient documentation, parts, and tools for repairs available to customers and independent repair shops. The big exceptions are video game consoles and alarm systems.
https://arstechnica.com/gadgets/2023/08/hell-freezes-over-as-apple-supports-right-to-repair-bill/