This is more an Apache/htaccess question and better suited on Stackoverflow but for the sake of answering try this:
RewriteEngine On
RewriteBase /
RewriteRule ^(components/tag|tags)/(.+?)\.html$ http://example.com/tag/$2/ [R=301,L]
Place it before the WordPress rules in your .htaccess
(or Apache conf
if you have access).