States and cities are debating building code changes—like single-stair apartments and relaxed electrical/fire rules—to reduce construction costs, but critics warn the rollbacks could increase risks.