I think you have that wrong. A car manufacturer can indeed require specific fluids in a car, such as requiring DOT3/4 brake fluid. Your car require DOT 3 brake fluid? Probably...if not undoubtedly. But is the manufacturer required to pay for your brake fluid because they specify the brake fluid standard? Don't think so.
What you're thinking of is a manufacturer requiring their own branded fluid, like "Use of GM/BMW/Ford/etc. brake fluid is required." That's what's illegal. Like requiring specific brands of tires or wiper blades or anything else. It's not illegal for a car manufacturer to require fluids, etc., that have to meet a standard.
Take GM. Most of their "new" engines require Dexos 1 certified oils to maintain warranty. That's legal. All GM is requiring is the use of oils certified to their spec.
Requiring the use of premium fuels is not illegal. It would be illegal if GM required the use of GM-branded fuel or Exxon specific fuel.
No. While I didn't explain it well you're completely wrong.
True, they cannot mandate their own brand of fluids or replacement parts.
Yes, they can mandate "official" fluids that pass certain government standards like DOT 3/4 brake fluid as opposed to generic red stuff.
But they can't go father than that. They can't demand a specific gasoline octane, they can't demand synthetic oils or a specific brand of parts. That's all covered by the Magnuson-Moss Warranty Act. You have to use REAL gasoline, that's all. You can't use a 50/50 mix of moonshine and cooking oil and be covered. But any legit government approved automotive gasoline pumped from a real filling station will not void your warranty regardless of brand or octane. Period. It's the law.
If you want to learn the truth, read your actual warranty rather than the owners manual. The manual wants people to use premium gas for potentially better performance and to make the car seem better. But the manual carries no legal weight. Even if the manual says premium fuel is REQUIRED, the actual warranty will always use a different word like "suggested" because they legally can't require a specific octane or fuel grade for warranty coverage.