Russia has massively ramped up military spending since launching its offensive in Ukraine in 2022, boosting economic growth but also inflation.