Apple to allow users right to repair, amid growing regulatory pressure in the west