CS isn't the only field where Michigan is an excellent and highly selective school.
Some state flagships serve as "come all" institutions -- any decent student gets admitted. States like Missouri, Kansas, Minnesota, and I think still Wisconsin come to mind. Michigan doesn't work like that. Lots of their undergraduate programs are extremely competitive, and therefore admissions overall is competitive. Saying "better school than Michigan" is like saying "better school than Carnegie Mellon". The acceptance rate is around 20%. It's not a safety school, for anyone, particularly with an intended major in much of STEM. It's a highly selective institution. Which changes the nature of your question.
Thinking of Michigan as a "median school" is not an accurate mental model. If you want a "median school" use Michigan State instead.