Overinvestment and risky financial engineering have made an AI crash more likely. Congress should take steps now to soften the blow.