Elon Musk says AI and robotics will solve the US debt crisis within three years by driving productivity beyond inflation.