The United Kingdom's economy shrank by 0.3 percent in the fourth quarter of 2023, the Office for National Statistics said on Thursday.