Some of this could be fixed if companies required technical questions to be vetted before they were used. (For example, by testing them on other people at the company.) Allowing people to come up with questions on their own means there is no quality control.
I wonder how many people could pass software interviews at the company they work for. How many could do it without studying and preparing for weeks? I doubt I could.
At Amazon a long time ago, people used to joke that for everyone working there, you could pick a group of interviewers that would have rejected that person.