Citigroup has been bailed out by the US government in its biggest rescue of a bank amid the global financial meltdown.