Malaysia is considering halting the annual Formula One Grand Prix race after its contract ends in 2018 due to declining ticket sales and TV viewership.