MGM’s history comes with 50 movies annually, casinos, a personal bankruptcy and those ruby slippers Here’s how they survived a hundred many years