Those who can't adapt to the new law will have to shutdown their nodes and use nodes from register businesses. Those who don't comply and chose to keep running their nodes will be cut off and risk criminal charges.
US citizens and residents will also be prevented to transact with businesses outside the US who chose to refuse to serve US customers to avoid the compliance burden and possible retaliation from the US government.
Miniers have to KYC with some pools already. Most mining is done through pools. Solo miming can be declared illegal. Miners suppliers could be requested to perform KYC on the sells and purchases of miners.
Elisabeth Warren doesn't care about the technical feasibility and consequences of her bill, all she wants is traceability off all financial transactions. If it makes live harder for us in the process, even the better.