Berkshire Hathaway Inc. became the first US company outside of the tech sector to surpass $1 trillion in market value.