A senior Toyota executive has said that quitting Formula One racing was an option, partly in view of the costs involved, Japanese media have reported.