During a landmark visit to the continent of his father's birth, Obama said he welcomed renewed interest from larger emerging markets.
"I actually welcome the attention that Africa is receiving from countries like China and Brazil and India and Turkey."
But he urged African nations to make sure trade was not a one-way street.
"When we look at what other countries are doing in Africa, I think our only advice is make sure it's a good deal for Africa."
Obama, in South Africa on the second-leg of a three-nation Africa tour, said that too often foreign investment did not benefit locals and actually encouraged the type of corruption and resource-stripping that guts economies.
"I do think that it's important for Africans to make sure that these interactions are good for Africa."
"There has been a long history of extracting resources from Africa, you take raw materials, you send them to someplace else where they get used processed, sometimes sold back to Africa.
Obama offered up the United States as a more equitable partner which wanted African economies to grow into consumer powerhouses.
Strong economies would mean the United States would get "somebody to trade with, to sell iPods to, airplanes, all kinds of good stuff."
"Frankly we don't need energy from Africa," he said pointing to developments in natural gas, clean energy and oil shale at home.
Amid a raft of Chinese investment in Africa, which topped $200 billion last year, US businesses have expressed concern that Africa is a diplomatic blind spot for their government.
