Rupee weakens against US dollar as foreign investors continue selling