Nippon Steel Corp. will buy United States Steel Corp. for $14.1 billion to create the world’s second-largest steel company—and the biggest outside of China—with a key role in supplying American manufacturers and automakers. The deal ends months of uncertainty over the future of US Steel, an icon of American industry,…