Maybe people are buying pre-jailbroken phones for carrier reasons?
Personally I'm on the side of the fence that would rather have no homebrew or jailbreak if it prevents piracy, but I'm sure others would disagree with me.
The idea that they were trying to get it made illegal comes from the EFF's attempt to get it specifically exempted (i.e. made legal). There is a triennial process for getting such exemptions made, which the EFF in 2006 called "fundamentally broken", but yet returned to participating in in 2009. Apple objected (using that same process) on the grounds that that the EFF's proposal did not meet the criteria required by that process. The EFF reported that as if Apple were trying to get the law changed, but it was in fact the EFF proposing a change. And from there the myth spread.
Even if you agree with the EFF, it's not accurate to say that anybody is trying to get it made illegal. To be frank, I don't agree with the EFF, but here I'm just trying to correct the facts. I would link to the specific documents, but the Copyright Office site appears to be down. If you're interested, look for the DMCA 2009 rulemaking comments and responses.
I'd like to enhance the firmware of my airport express units, but the firmware encryption stops me. It annoys me, but it didn't cost apple anything to do it.
Hell, want to compare sales between the WRT54G and the WRT54GL - which is the marketed "hackable" version?
The WRT54G was successful because it was the cheapest brand-name wireless router money could buy - it was the Toyota Corolla of routers.
Philosophically and personally, I prefer more open platforms, but it's one of two things - either they're running some cost/benefit analysis that says it's a good move strategically - more sales or easier to preserve a better brand image or more secondary sales. Or, and this is quite possible too, they agree to some basic security measures by contract with a partner of theirs - perhaps AT&T in Apple's case.