People in Japan are turning to cooling gadgets and changing daily routines as an intense heatwave disrupts sports events and sends thousands to hospital.