I have heard of agents contacting individuals like this, but after someone reports it to the government. It's likely that someone on Twitter sent this as an FBI tip.
If this person has tweeted this out and then gone on to do a horrible act of violence, law enforcement would be blamed for inactivity against what would be described as an “obvious” threat. They kinda lose if they do, lose if they don’t.