You are a B.Tech graduate in Electrical Engineering with a years experience of six months each in 2 different companies that focused on control panels(MCC, PCC, PLC, APFC, Starter panel, etc), its design, material take-off, panel drawing, documentation, testing, etc and so you are familiar with the above-mentioned profile work. As you also mentioned that you were fired from both the companies within 6 months but you have not mentioned the reason for it and so leaving it aside, I would say, you need to register with online job-search portals like Monster.com, naukri.com, Bayt.com, Timesjob.com, LinkedIn.com, CareerBuilder.com, etc so that they can help you find your appropriate job.
You have mentioned that you have a problem of staying in a factory environment and visiting hazardous sites, so would like to change your profile and it is good that you have thought of it at the early stage. As you are already undergoing online training in Applied AI course, you can apply as a design engineer, Development and Test Engineers, radar and navigation systems engineer, communications systems engineer, global positioning systems (GPSs) engineer, Systems Engineer, etc.
As you are a graduate, you can even try government exams like UPSE, Banking exam, clear National Eligibility Test(NET) and apply for the post of Assistant Professor and/or Junior Research Fellowship award in Indian universities
and colleges, Railway exam, other government exams which will keep you away from hazardous and factory environment.
One thing that you need to be prepared is you 3 years gap that you have after completing your B.Tech Engineering course in 2017 as this will be asked by every recruiter and they need to get to the point answer or else, it can make a black mark. So prepare well with an answer which feels realistic and decent. All the best Anirban Roy and do well.