Occidental Petroleum’s stock rose after Warren Buffett’s Berkshire Hathaway Inc. disclosed that it boosted its stake in the oil-and-gas company to over 25%.