In practice even the good business plans run into myriad reasons why they aren't actually good plans, they are just lucky enough and have a determined enough team to survive reality.
That's not to say there aren't good business plans, but I think that criticizing Silicon Valley culture for having a high failure rate is counter-productive to encouraging people to take necessary and potentially transformative risks. Whenever you're trying to do new stuff, a lot of retrospectively dumb stuff will get discarded along the way, and it's easy in hindsight to point at the survivors and say "why didn't all of the failures just give up sooner?" I think that underestimates how much the successful ideas only just barely avoided ending up also on the side of the road.
At the end of the day, humans are pretty much the only thing that matters.
(I'm a little less sympathetic in the case of engineers, who are an in-demand resource and so their opportunity costs are less, but the opportunity cost of your support people is higher and the recovery from the problems that that failed explosive growth phase cause is much worse.)
The Medium situation looks a lot more like Mixpanel to me. They overhired, they are laying off. Business are actually supposed to be able to do that, in a functioning flexible labor market, and I don't see why we should vilify them specifically.
This is an enormous failing on the part of management as well as Silicon Valley culture in general. These startups hire far too many people far too early, piss away a bunch of money, and then lay off half their workforce and "pivot" once they realize their business plan actually sucked balls from the start.