Nearly half of retailers have adopted IoT tech