Detroit motors out of biggest public bankruptcy in US history