Warren Buffett is stepping down as chairman of Berkshire Hathaway after serving in the role for more than 50 years.