Berkshire Hathaway has a track record of outperforming the market during economic downturns, according to UBS.