AT&T said on Monday afternoon that it had withdrawn its $39 billion takeover bid for T-Mobile USA, acknowledging that it could not overcome opposition from the Obama administration to creating the nation’s biggest cellphone service provider.The company said in a statement that it would continue to invest in wireless spectrum, but could not overcome resistance from both the Justice Department and the Federal Communications Commission.