Messed up my PhD. Hope for academia lost. Not attractive for industry. Hoping for some advice
First, you didn't really "mess up your PhD" if you get your diploma at the end, something which seems very likely in your case. The main goal of doing a PhD is to get a PhD diploma, so you should evaluate success by this criterion even if it's not everything you had initially hoped for.

What you're going through is a period of low self-esteem/regrets/depression, a very common symptom of finishing a PhD (see for instance here). It's normal but be aware that currently you are not completely rational in your self-evaluation, and don't hesitate to seek professional help if you feel like you need it.


  I really messed up, I don't know what should I do. Academia seems closed. Industry a far fetched dream. I am in the US and I am an international student. Sorry for the rant. I really can use an advise. Is it possible to come back from such a disastrous profile?


These interpretations are the result of your low self-esteem at the moment. For example you will know if academia is closed to you only if you apply for academic jobs. Sure you might not get a position in a prestigious institution, but there's a lot of postdoc opportunities everywhere and if that's what you really want you should definitely apply. A year or two of postdoc in a different place, on a different topic and with different people could completely change your perspective and your academic profile.