The collapse of the housing bubble caused the value of investments to fall. The companies that had invested in subprime loans lost a total of about $512 billion. Citigroup and Merrill Lynch were two companies that lost the most money. More than half of the money lost, $260 billion, was lost by American firms.