Amazon could be exposed to huge risk after a court ruled that it’s liable for faulty third-party products