A cyberattack has breached the computer system at MGM Resorts, forcing the company to shut down operations at a dozen of the most iconic casino hotels in Las Vegas—including the Bellagio, Mandalay Bay and the Cosmopolitan—as well as another half-dozen MGM properties around the United States.