The US president also suggested he could take over the investigation into alleged Russian meddling.