A state bill is a glimpse of how corporations are limiting people's ability to make their own fixes and upgrades.