Actually I have some automotive evidence that government mandated Right to Repair is not likely to work in the average user's favor. Better than what we have but not what we want.
How it started:
In 1996 the US government required auto manufacturers to use the open, OBD II communications protocol so users (or average repair shops) could diagnose and repair their vehicles easier with computers become more sophisticated and black-box. It was mostly for emissions control and "saftey" purposes, but it still allowed the average user to go to their nearest auto-parts store and purchase a $20 tool that told them what was wrong with their car when a check-engine light appeared.
The majority of my hands on experience is with 1994-2003 Ford 7.3L diesel pickup trucks, however it expands across most light duty domestic brands. Ive done repair on many newer vehicles and some newer Asian brands as well.
How it's going:
OBD II only requires a very small set of reports and values which the manufacturer is not required to publicly release lookup codes for outside of the well-known versions and can even vary their multiplers so the data reads wrong anyway. OEMs aren't required to expose any additional coms protocols or extra features of the firmware/hardware. So they keep all of that locked behind custom protocols or mfg-known memory addresses and conversion values, and you STILL need special/expensive equipment to access usable data, where OBD II basically just tells you "hey there's a problem" which the bloody light on the dash already did.
Why:
Beyond that OEMs employ their own communications protocols for THEIR tools which they hide behind complicated dealer networks and high priced commercial subscription fees or vin-locked credit systems after a multi $1000 purchase of "validated coms equipment"
Generally "generic" off-the-shelf OBD II readers will leave you in a worse place throwing parts at your car instead of just taking it to a shop with more expensive tools.
Why are more expensive tools better? Well companies like Opus, Drewtech (another fun story if you want to hear my talk about it) and other hacker-founded companies spend time reverse engineering the proprietary communications protocols which cost metric ass-loads of R&D, ask me how I know, we couldn't afford it. Sometimes they use techniques offered by the processors like Direct Memory access to fetch values from SRAM or registers. Which then requires reverse engineering the ROM to make sense of the values pulled back.
You can see how this works using devices like STC sell, and off-the-shelf products like ScanGauge which you can manually configure it to fetch memory values then convert them on the fly to human-readable values. It's all a huge guessing game because its not uncommon for the memory map to change slightly or a multiplier be changed because were working with real-time processors, so every instruction and optimization counts. It's rare to see massive changes but its common to see SOME values change between firmware updates which occur ALL the time. So when you write firmware for these devices you usually need to create a profile for EVERY firmware identifier. (also legally required to publish firmware revision numbers btw)
For Ford diesel pickups I came across something like 500 (off the production line) revisions of ROMs. Nearly every truck drives slightly different, and for a while they were STILL modifying the firmware.