Since ASD covers such a broad spectrum, I couldn't definitively say, "There's no one in the real world who matches that portrayal." Perhaps the writers could even be justified in cherry-picking attributes. e.g., for The Good Doctor, they may say, "This guy is a medical genius." Okay, that's easily believable within the autism spectrum. No eye contact? Okay, I'll allow it. No understanding of social complexities? Well, maybe. My thinking is that, if you can work out the complex rules of medical stuff, you might also be able to work out at least some rules of social interactions (I mean, I have, even though everything social I do reduces to a logic matrix or flowchart in my head). Eventually, their particular dramatic collection of convenient and heartstring-tugging symptoms and behaviors may strain credibility.
But my knee-jerk answer is, no, movie and TV portrayal of [absolutely everything] is inaccurate.
Of course, everyone knows that car physics works differently in Hollywood than in the rest of the universe.
I have always bristled at how Hollywood hackers can write complex programs in minutes, or sometimes seconds, and never write any bugs. I once asked a lawyer if Hollywood got legal stuff just as wrong - I wish I could convey the amount of eyerolling and complaining I got. Yep, Hollywood gets legal stuff wrong, too.
Trust them to get autism right? No, my money's on the other side.