Saudi Arabia's economy contracted by 3.8% in the fourth quarter compared to the corresponding period last year, according to preliminary government figures, but grew by 2.8% quarterly.