Companies like Walmart, Apple, and Microsoft were also given millions of dollars in loans, according to the report.