I didn't say "audience", I said "people". Producers, directors and casting agents are people too.
Yes, audiences typcast actors into roles too, but that's as a result of the decisions made by the Hollywood suits making films and shows in the first place.