Governments around the world are cracking down on basic freedoms, the United States warns, in a report that did not spare key US allies like Turkey and Egypt.