Obama seeks foreign investment as US economy grows