US chipmaker will pause plans to build new plants in Germany and Poland while partnering with Amazon to build AI chip