Four people are critically injured and nearby residents have been told to evacuate after an explosion at an oil refinery in Bangkok.