Apple and other tech giants, including OpenAI, SoftBank, Meta, and Microsoft, have announced major US investments worth hundreds of billions, with Trump taking credit.