John Deere to Pay $99 Million in Monumental Right-to-Repair Settlement

The ag manufacturing giant will also make digital diagnostic, maintenance, and repair tools available to third parties for 10 years.

The Drive
One of the most user-hostile companies on earth. My John Deere lawnmower came with a fuel gauge that runs off a CR2032 that's embedded in epoxy. The battery runs out of charge in about six months and the gauge stops working. If you saw the gauge open and replace the battery it doesn't start working again. If you disconnect the gauge the lawnmower won't start. Replacement gauges are $60.
Don’t buy their stuff then.

You're getting downvoted, but this is really the only answer here. Companies won't stop acting this way as long as their shitty behavior is rewarded, and people keep rewarding their shitty behavior.

No amount of legislation is going to prevent them from doing this. This settlement even proves that they can keep doing it with impunity!