Intel gives Trump credit for $7bn US factory it announced under Obama