Feeling that society is all messed up just shows that you are thinking rationally...
But yes, I do think that being unable to adapt and attain some degree of societal comfort is pretty typical of mental issues...depression, etc.
The hopelessness, the thinking in absolutes (it will never work for me, etc.) are typical of depression.
Your friend's comment that you seem like you want to be a machine--perhaps your emotions are causing you a lot of distress, and it'd be easier to switch them off and just get things done? I certainly feel that way at times, but less so since finding effective treatment for my bipolar II.
You might be surprised at how effective psychiatric treatment can be, how much it can help you regain control (rather than taking it away from you). It certainly surprised me. It doesn't work for everyone equally, but it is worth a try.