I don't see a problem with making rules for companies to follow. We have a rules that say companies can't advertise nicotine to children or put lead in gasoline. If the rule is good, it should be around.
That being said, I get an even bigger endorphin hit from knowing that people can (mostly) buy whatever they want, even if stupid, unnecessary and wasteful by my criteria.
Sure, but when companies can all collectively decide that they're only going do one thing, you either stop consuming entirely or put up with the abuse.
> Why should government need to step in
Because companies won't do it on their own.
> what is government going to do?
Write right to repair legislature. None of these are difficult problems, you just seem to have a libertarian mindset which inevitably means you just play defense for corporations doing whatever they want.