You're conflating two issues. Conspiracy to fix prices is generally illegal; robbing users of the right to use their own hardware is not.
And Amazon isn't dictating terms on ebooks. You can install .mobi books you didn't get from them. You can even sideload apps onto the Kindle Fire.