Perhaps these don’t need to be lumped into a single tax return and can instead be handled independently by the appropriate institutions — brokerages deducting tax on investments, closing agents deducting tax on house sales, IRS mailing a check each year for dependents, and so on.
Sibling comments suggest that other countries successfully automate much of their taxes.