Ukraine has carried out a strike using US ATACMS missiles just hours after Vladimir Putin suggested such an attack could be met with a nuclear response.