Las Vegas will continue to host a Formula One Grand Prix until at least 2037 after agreeing a 10-year contract extension.