The unelected tech billionaire’s role in scrapping a spending deal in Congress alarmed Democrats and watchdog groups, and could result in a government shutdown.