US President Joe Biden will not face criminal charges for taking classified information about national security matters with him when he left the vice presidency in 2017, a prosecutor has concluded.