If you PERM and I-140 application fail,thats fine to you.You can continue to renew your TN. But I suggest you apply for H1-B before,or after you submit your PERM