A company which sent thousands of spam texts about loans has been fined £20,000 by the Information Commissioner’s Office (ICO).