You're right, material matters. If it's not a biological organism with cell/s, it's not sentiant or intelligent.
If humans just disapeared right now, ai would sit and do nothing. It wouldn't "take over" or "break out" it would sit idle until a human (well I guess another living organism was capable of using keyboards and mouse) interacted with it.
All those elements you listed plus all from the periodic table of elements do not define a living, intelligent, sentiant organism. If they did, soil and cow paddies would be living.
I highly recommend going back to middle school science class again.