Flood and landslide warnings are in place as a powerful typhoon approaches Tokyo.