The seven-time Formula One world champion announced his decision in front of a crowd at the 2022 Dubai Expo.