Reacting to a plot twist that many did not see coming, book lovers, sellers and Amazon watchers were caught off guard Wednesday by the news that the company is abandoning its bookstores and two other lines of physical retail stores.