Whenever Armory Automaton enters the battlefield or attacks, you may attach any number of target Equipment to it. (Control of the Equipment doesn't change.)
The triggered ability triggers both when Armory Automaton enters the battlefield and whenever it attacks. You don’t have to choose only one.
You can choose to target no Equipment if you don’t want to attach any to Armory Automaton. Because the ability is optional, you also don’t have to attach the Equipment it targets as you resolve the ability. However, you must either attach all of the target Equipment or attach none of them.
Armory Automaton’s ability can cause an Equipment one player controls to become attached to a creature another player controls. The controller of the Equipment can pay the equip cost to move that Equipment to a creature they control, but only any time that player could cast a sorcery. The controller of Armory Automaton can’t pay the equip cost to move Equipment they don’t control.
If an Equipment an opponent controls is attached to a creature you control, any ability of that Equipment that says “you” refers to that opponent. However, if the Equipment says that the equipped creature has an ability, the word “you” in that ability refers to you, the controller of the creature.
If Armory Automaton leaves the battlefield before its ability resolves, nothing happens to any of the Equipment it targeted. If they were already attached to other creatures, they remain attached to those creatures.
An ability of an Equipment that triggers “whenever equipped creature attacks” triggers only if the Equipment was attached to a creature at the moment that creature was declared as an attacker, and any references to “that creature” in the effect refer to the creature the Equipment was attached to when the ability triggered.