Samsung is behind a generation (or thereabouts). Not sure why exactly.
AMD spun off their fab as GlobalFoundaries. The separate company bowed out of the bleeding-edge fab business. Their 14nm node was licensed from Samsung and they completely cancelled their 7nm node.
As bleeding-edge fabs kept getting more and more expensive lots of companies decided to go fabless. They were able to do that because unlike everyone else TSMC doesn't make chips for itself so it doesn't represent a competitive threat. This is the real key to TSMC's success.
Other companies like GlobalFoundaries and ON Semi are filling volume with older process nodes like 14nm. There's a large number of chips needed by millions of manufacturers large and small. Only a small proportion of those need the power/perf you get from the latest and greatest. Manufacturing on an older node is cheaper thanks to lower capex and much much better yields.
Eventually I think we'll see litho equipment make its way into the niche market similar to 3d printers. We've seen some people hacking together stuff to make their own chips in a garage... they're tiny 5-2000 transistor affairs but it would be quite interesting to be able to churn out a custom chip with a million transistors on it.