The government has rolled out free basic AI training in a bid to upskill 10 million workers, alongside a new advice unit.