China's economy grew 5% last year, with 5.4% growth in Q4 enough to beat market expectations and meet Beijing's target for 2024.