The Russian gas giant showed record losses in 2023.