Amazon has said it will take action over reports that trucks blocking lay-bys close one of its major warehouses in West Yorkshire is “having a serious effect on people’s lives.”