The good news is that interview performance is not a reflection of how you’ll perform at your job. Think about it – how representative are the interview situations you’ve described? Jobs aren’t like that.
Don’t start flipping burgers just yet. There’s good advice on this thread – two basic ideas.
First, you can get better at the “Google/Facebook/Twitter” whiteboard interview by practice and hard work. No matter how much you think you suck, you can get better.
Second, there are thousands of companies with software jobs all of over the US that don’t use the whiteboard approach to interviewing. You have to look for them. They might not be software companies per se, but have developer groups that provide useful line-of-business software that make their internal users happy.
Don’t give up. You can do it.