Statistics Canada says the economy capped off a volatile year with a contraction in the final quarter of 2025.