The yen has tumbled past a 40-year low against the U.S. dollar, prompting the Japanese government to vow "appropriate action at any time."