In terms of books that is very much a non Apple issue. Every country can (and does?) ban some books from publication. Whether it’s political or „save the children“, it’s a normal government process and your chosen platform, digital or paper, is irrelevant. Picking out Apple for book censorship is wrong.
Apps on the other hand you are totally right about. This censorship exists with app stores only. But in practical terms, is there really a difference between side loading iOS apps or installing android apps from binary? If anything I would prefer the open source nature of side loading