China has extended its current Formula 1 deal until the end of 2025, the country left off next year's calendar due to the pandemic.