The machines don't make money, the owners make the money. So we will end up taxing the owners - which will already happen under the current system.
Except if consumers don't have jobs they won't be able to purchase the products made by machines, therefore the owners will NOT make the money, and the economy will enter into a "death spiral".