Shia LaBeouf is in terrible shape and needs inpatient treatment for addiction and psychological issues ... and not just inpatient treatment ... but longterm treatment. Shia's lawyer, Shawn Holley, tells TMZ, "Shia needs help and he knows that."…