No one is saying they have to give it away for free. They can charge a reasonable fee for repair data. I for instance just paid 400 dollars for a factory repair manual and parts manual for my airplane.
Look, when you buy a product, title passes to the purchaser. If a company wants to control the repair of that product, they need to lease, not sell title to the product. Once they sell title, the purchaser entitled to do with that product what they wish. Which means if you don't provide repair data at a reasonable cost, the Chinese will, and put it on Amazon. Bottom line is this. Selling title to a product while attempting to control the purchaser's repair regimen to your own benefit is a bad business model.