This EXACTLY happened to me at a somewhat well known software company. We were working on a project and I spoke out that the performance wasn't anywhere where it needed to be. I was pretty sure it wasn't going to work in a real situation.
I proposed solutions, and the lead engineers rejected my ideas. My manager gave me a horrible performance review filled with lies. I went to HR and then all of my coworkers stepped up on the record and said what was written was wrong. He was forced to rewrite my entire performance review. I changed teams shortly after this and the project was canned 6 months later.
Everyone who was wrong "failed upwards" which is usually how things go in Silicon Valley and everywhere else unfortunately.