Treasury Secretary Janet Yellen said the federal government will run out of money to pay all of its bills by June 5 unless its $31.4 trillion borrowing limit is raised.