These patterns get used because they work. It's game theory: if site A makes 10-50% more money because they do all this stuff, sites B-? are going to wind up doing it too.
If you want to get rid of marketing dark patterns, the solution is simple: just make sure all humans remove emotion and feelings from every decision, and give them the time and money to find all possible alternative sources for the desired product or service.
(/s)