A 22-year-old man has been charged with terrorism after driving SUV through a shopping centre in Schaumburg, Illinois.