I’ve worked in 6 companies over 20 years, across many teams. In none of them did devs have to commit to work in sprints. Sure, some did sprints but work rolling over was more a conversation point about priorities and scope of the work rather than a point on which to judge output.
Obviously, there are companies that do this but it’s not as universal as you’re portraying it.