Romain Grosjean, who will leave Haas at the end of the season, admits he might not have a future in Formula One.