Apple leads tech rout after Berkshire Hathaway sells more than half of its stake